hint icon indicating copy to clipboard operation
hint copied to clipboard

Ability to use `data` and `newtype`?

Open Archaversine opened this issue 1 year ago • 3 comments

I may be missing something, but is it possible to declare new datatypes? For example, I tried runStmt "data MyBool = MyTrue | MyFalse", but I get:

parse error on input 'data'

Is there any way to do this or any work around to do this?

Archaversine avatar Mar 11 '24 19:03 Archaversine