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?
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:I didn't have that experience... (Helpful people on
#purescript-beginnersSlack suggested the above.)Would you consider adding that kind of example to the docs?