1{-# LANGUAGE FlexibleInstances #-}
2{-# LANGUAGE OverloadedStrings #-}
3{-# LANGUAGE TypeSynonymInstances #-}
4module Servant.Utils.Text where
6import Data.String.Conversions
11 fromText :: Text -> Maybe a
17instance FromText Text where
20instance ToText Text where
24instance FromText String where
27instance ToText String where
31instance FromText Bool where
32 fromText "true" = Just True
33 fromText "false" = Just False
36instance ToText Bool where
38 toText False = "false"
41instance FromText Integer where
42 fromText = readMaybe . cs
44instance ToText Integer where
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list