Skip to content

Lists of builtin categories #222

@andreasabel

Description

@andreasabel
Sum. S ::= [Integer]  ;
separator Integer "+" ;

Test input:

1+2 +3 +  4+ 5

haskell and haskell-gadt do not print this correctly:

[Abstract Syntax]
Sum [1,2,3,4,5]

[Linearized tree]
1 2 3 4 5

The reason is that the printing classes for builtins do not define the prtList function.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions