on master help sign in
Add 'will break at runtime in GHCJS' warning
24ccb5dJon Chase
Data/Yaml.hs+4
@@ -16,7 +16,11 @@
16--
16--
17-- For documentation on the @aeson@ types, functions, classes, and
17-- For documentation on the @aeson@ types, functions, classes, and
18-- operators, please see the @Data.Aeson@ module of the @aeson@ package.
18-- operators, please see the @Data.Aeson@ module of the @aeson@ package.
19+#if (defined (ghcjs_HOST_OS))
20+module Data.Yaml {-# WARNING "GHCJS is not supported yet (will break at runtime once called)." #-}
21+#else
19module Data.Yaml
22module Data.Yaml
23+#endif
20 ( -- * Types
24 ( -- * Types
21 Value (..)
25 Value (..)
22 , Parser
26 , Parser