-
Notifications
You must be signed in to change notification settings - Fork 186
Open
Description
Hello,
I would rephrase following:
Elm also uses the convention that the data structure is always the last argument across the ecosystem.
Because in following case it is not clear:
insertDocument : a -> Database a -> Task x ()
readDocument : Id a -> Database a -> Task x a
-- or
insertDocument : Database a -> a -> Task x ()
readDocument : Database a -> Id a -> Task x a
I think that:
It is not matter of: subject/data structure/module structure.
It is matter of: how function get used (partial application/pipes)
Metadata
Metadata
Assignees
Labels
No labels