Skip to content

An alternative for empty row #222

@xgrommx

Description

@xgrommx

In purescript I can write smth like

type RowApply (f :: # Type -> # Type) (a :: # Type) = f a

infixr 0 type RowApply as +

type X r = (a :: Integer | r)
type Y r = (b :: String | r)

-- type Z = X + Y + ()

But in hamler () is Unit type. What is an alternative for empty row in hamler?

And also how about smth like https://pursuit.purescript.org/builtins/docs/Prim in hamler?

I mean classes for Row, RowLists, etc

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions