disco icon indicating copy to clipboard operation
disco copied to clipboard

Functional teaching language for use in a discrete mathematics course

Results 59 disco issues
Sort by recently updated
recently updated
newest added

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

When printing a result that contains a Unicode character that character and everything after is replaced with an error like `: commitBuffer: invalid argument (invalid character)`. This seems to be...

C-Low Hanging Fruit
A-Under Review
S-Nice to have
Z-Bug
U-UI

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

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-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-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

It seems a bit inconsistent that all other recursive types will be built directly from sums and products, and use `left`, `right`, and tuples for construction and pattern-matching, but the...

C-Moderate Effort
Z-Feature Request
U-Language Design
U-Desugaring
U-Standard Library
S-Moderate
Z-Pedagogy