Compiler.Platform
Functions for working with a project's target platform.
type Platform
= Node
| Browser
| Common
You'll find this value in gren.json
isCompatible :
Platform -> Platform -> Bool
Check if two Platform values are compatible.
Common is compatible with all other platforms.
Value conversion
jsonDecoder :
Decoder Platform
JSON decoder for Platform.