paf31 / purescript-derive-lenses

A little utility to derive lenses and prisms for data types in PureScript
MIT License
41 stars 3 forks source link

Type support #6

Closed user471 closed 8 years ago

user471 commented 8 years ago

Is it possible to generate lenses for

type Foo = {foo :: Int}

?

paf31 commented 8 years ago

Yes, shouldn't be difficult.

pkamenarsky commented 8 years ago

Is there a problem with merging this?

paf31 commented 8 years ago

Not necessarily, it's on my list and I'll get round to it soon.

pkamenarsky commented 8 years ago

Perfect, thank you!