-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
type: documentationImprovements or additions to documentation.Improvements or additions to documentation.
Description
Even a single example of how to construct the main data type in a module would be really helpful.
For example in Data.Time
, you need a lot of understanding and experience to figure out that you're supposed to do something like:
import Data.Enum (toEnum)
myTime2 :: Maybe Time
myTime2 = Time <$> toEnum 11 <*> toEnum 30 <*> toEnum 59 <*> toEnum 213
I didn't have that experience... (Helpful people on #purescript-beginners
Slack suggested the above.)
Would you consider adding that kind of example to the docs?
Metadata
Metadata
Assignees
Labels
type: documentationImprovements or additions to documentation.Improvements or additions to documentation.