5

Looking at this:

I see there is support for unicode in purescript, e.g.

id :: ∀ a. a -> a

Is there a list of default operators somewhere?

levant pied
  • 3,886
  • 5
  • 37
  • 56

1 Answers1

9

The available "default" symbols are just those that are part of the syntax:

  • (forall) for types
  • (::) for type annotations
  • (->) for function types and cases
  • (<-) for do binds
  • (=>) for class constraints
  • (<=) for superclass implications

Some libraries and project preludes provide additional unicode operators for library code.

damd
  • 6,116
  • 7
  • 48
  • 77
gb.
  • 4,629
  • 1
  • 20
  • 19