This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| [ | |
| { "keys": ["up"], "command": "repl_view_previous", | |
| "context": | |
| [ | |
| { "key": "setting.history_arrows", "operator": "equal", "operand": true }, | |
| { "key": "setting.repl", "operator": "equal", "operand": true }, | |
| { "key": "auto_complete_visible", "operator": "equal", "operand": false } | |
| ] | |
| }, | |
| { "keys": ["alt+p"], "command": "repl_view_previous", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE OverloadedStrings #-} | |
| module Main ( | |
| main | |
| ) where | |
| import Control.Arrow | |
| import Control.Applicative | |
| import Control.Lens (lens, traverseOf, view, Simple, Lens) | |
| import Data.Aeson |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE TemplateHaskell, OverloadedStrings #-} | |
| module ParseTest ( | |
| ) where | |
| import Data.ByteString (ByteString) | |
| import Data.Text (Text) | |
| import qualified Data.Text.Encoding as T | |
| import Data.Serialization | |
| import Data.Serialization.Text.Print |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data A = A Text Int Double | |
| deriving (Eq, Ord, Read, Show) | |
| $(makeIso "aiso" ''A) | |
| -- | Serialize with show, deserialize with attoparsec | |
| type Textual a = Serializable Text ShowText Atto a | |
| class Ser a where | |
| ser :: Textual a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data A = A Text Int Double | |
| deriving (Eq, Ord, Read, Show) | |
| $(makeIso "aiso" ''A) | |
| -- | Serialize with show, deserialize with attoparsec | |
| type Textual a = Serializable Text ShowText Atto a | |
| class Ser a where | |
| ser :: Textual a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data A = A Text Int Double | |
| deriving (Eq, Ord, Read, Show) | |
| $(makeIso "aiso" ''A) | |
| -- | Serialize with show, deserialize with attoparsec | |
| type Textual a = Serializable Text ShowText Atto a | |
| class Ser a where | |
| ser :: Textual a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data A = A Text Int Double | |
| deriving (Eq, Ord, Read, Show) | |
| $(makeIso "aiso" ''A) | |
| -- | Serialize with show, deserialize with attoparsec | |
| type Textual a = Serializable Text ShowText Atto a | |
| class Ser a where | |
| ser :: Textual a |