MK
module M where
import M type as T
data Foo = Foo {...}
makeLenses 'T.FooSize: a a a
MK
module M where
import M type as T
data Foo = Foo {...}
makeLenses 'T.FooMK
MK
MK
_:
data CRUD = C | R | U | D
-- body that we get from a post request
data Req a = { reqType :: CRUD, body :: a }
MK
MK
data CRUD = C | R | U | D
-- body that we get from a post request
data Req a = { reqType :: CRUD, body :: a }
CRUD -> Type_:
_:
MK
ReqBody и всёMK
MK
MK
MK
QZ
data CRUD = C | R | U | D
-- body that we get from a post request
data Req a = { reqType :: CRUD, body :: a }
MK
_:
MK