Merge pull request #81 from cyrbon/master
Add 'will break at runtime in GHCJS' warning
commit2dffbc08c834fbf1c2a2a3cdf5ba1bb2ea8a1d5a
authorMichael Snoyman <michael@snoyman.com>
dateMon 18 Jan 2016, 06:32 (11 years ago)
parent176c1fb24ccb5d
Data/Yaml.hs+4
@@ -16,7 +16,11 @@
1616--
1717-- For documentation on the @aeson@ types, functions, classes, and
1818-- 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
1922module Data.Yaml
23+#endif
2024 ( -- * Types
2125 Value (..)
2226 , Parser