hamler icon indicating copy to clipboard operation
hamler copied to clipboard

An alternative for empty row

Open xgrommx opened this issue 5 years ago • 3 comments

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

xgrommx avatar Jun 27 '20 11:06 xgrommx

Any updates?

xgrommx avatar Sep 14 '20 21:09 xgrommx

I will try it again, any updates?)

xgrommx avatar Jan 04 '21 16:01 xgrommx

I would close this Issue as non-essential :-)

5HT avatar May 31 '21 17:05 5HT