Commit a68fe5fa authored by Steffen Michels's avatar Steffen Michels

Apply suggestion to doc/STANDARDS.md

parent d311910b
Pipeline #29342 passed with stage
in 2 minutes and 53 seconds
......@@ -97,7 +97,7 @@ collisions, adhere to the following conventions:
Implementation modules may import anything they like.
## Implementing class instances and generic derives
Clean platform should provide applicable instances for the types it provides for classes defined in `StdEnv`, `Gast`, and `clean-platform` itself.
Clean Platform should, where applicable, provide instances for the types it provides for classes defined in StdEnv, Gast, and Platform itself.
The applicable instances for the _general_ classes should be exported in the module of the type and not of the class.
This means that for example the `Functor` instance of `Maybe` should be defined in `Data.Maybe` and not in `Data.Functor`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment