@@ -1,6 +1,7 @@
1{-# LANGUAGE CPP #-}
1{-# LANGUAGE CPP #-}
2{-# LANGUAGE ScopedTypeVariables #-}
2{-# LANGUAGE ScopedTypeVariables #-}
3{-# LANGUAGE OverloadedStrings #-}
3{-# LANGUAGE OverloadedStrings #-}
4-- | Provides a high-level interface for processing YAML files.
5-- | Provides a high-level interface for processing YAML files.
6-- This module reuses most of the infrastructure from the @aeson@ package.
7-- This module reuses most of the infrastructure from the @aeson@ package.
@@ -27,7 +28,7 @@
27-- > import qualified Data.Yaml as Y
28-- > import qualified Data.Yaml as Y
29-- > main = do
30-- > main = do
30−-- > putStrLn . show $ (Y.decode "[1,2,3]" :: Maybe [Integer])
31+-- > print $ (Y.decode "[1,2,3]" :: Maybe [Integer])
32-- You can go one step further and decode into a custom type by implementing
33-- You can go one step further and decode into a custom type by implementing
33-- 'FromJSON' for that type. This is also appropriate where extra
34-- 'FromJSON' for that type. This is also appropriate where extra