Skip to content
This repository was archived by the owner on Aug 23, 2018. It is now read-only.
This repository was archived by the owner on Aug 23, 2018. It is now read-only.

With a huge nested tuple in scope, all expressions take 30 seconds to complete #160

Open
@endlessoblivion

Description

@endlessoblivion

After defining a sequence of functions like:

nest = (,,,,,,,,)
n0 = nest
n1 = nest n0 n0 n0 n0 n0 n0 n0 n0 n0 -- sorry, I didn't find a way
n2 = nest n1 n1 n1 n1 n1 n1 n1 n1 n1 -- how to do it via recursion
n3 = nest n2 n2 n2 n2 n2 n2 n2 n2 n2 -- or by spreading a list
n4 = nest n3 n3 n3 n3 n3 n3 n3 n3 n3
n5 = nest n4 n4 n4 n4 n4 n4 n4 n4 n4

all following expressions take a long time (20-60 seconds) to complete:

> 42
-- nothing happens for 20 s, then REPL prints
42 : number

[Elm 0.18 / ubuntu]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions