Brent Yorgey

Results 93 issues of Brent Yorgey

`Down` nodes now count as annotations that must be counted through when following a path. A lens onto a specific node sees only the subtree rooted there, without accumulated down...

**Describe the bug** Sometimes an enclosing call to 'local' for a particular Reader capability causes the accumulated value for a (conceptually unrelated) Writer capability to be reset. This only seems...

Should be able to handle this similarly to #317.

C-Project
Z-Feature Request
U-Interpreter
U-Constraint Solving
S-Nice to have
Z-Research Project

It would be really cool to allow users to define infix operators (especially in terms of moving stuff into the standard library). While we're at it we might allow postfix...

C-Project
Z-Feature Request
U-Language Design
U-Parsing
U-Syntax
U-Standard Library
S-Moderate

Trying to load a file containing ``` if : N if = 0 ``` results in ``` ./bad.disco:1:1: | 1 | if : N | ^ unexpected 'i' expecting "import",...

C-Moderate Effort
Z-Feature Request
U-Parsing
S-Nice to have
U-Error Reporting
Z-Research Project

Currently we can define ADTs using recursive sum types, *e.g.* ``` type Tree = Unit + N * Tree * Tree ``` We can then define constructor synonyms like ```...

C-Project
Z-Feature Request
U-Language Design
U-Type Checking
U-Syntax
S-Nice to have
Z-Student

There's no reason we shouldn't allow qualified types to show up if students are ready for them. See also #169.

C-Project
Z-Feature Request
U-Language Design
U-Type Checking
U-Syntax
U-Constraint Solving
S-Moderate

It is actually common in mathematics to use commas or other separators around ellipses, *e.g.* $\{1, 2, \dots, 10\}$. So it is unfortunate that Disco currently rejects this, requiring no...

C-Low Hanging Fruit
Z-Feature Request
U-Parsing
U-Pretty Printing
U-Syntax
S-Moderate

Infix max, min are weird and nonstandard.

C-Low Hanging Fruit
U-Syntax
U-Standard Library
S-Nice to have

Perhaps the default should be to pretty-print everything using ASCII syntax --- for ease of copy-pasting --- but with an extension to enable pretty-printing with Unicode syntax?

C-Moderate Effort
Z-Feature Request
U-Pretty Printing
S-Nice to have
Z-Student