bert 1.1.2 → 1.1.2.1
raw patch · 3 files changed
+14/−6 lines, 3 filesnew-uploader
Files
- Data/BERT/Term.hs +1/−1
- Network/BERT/Server.hs +5/−3
- bert.cabal +8/−2
Data/BERT/Term.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE OverlappingInstances, TypeSynonymInstances #-}+{-# LANGUAGE OverlappingInstances, TypeSynonymInstances, FlexibleInstances #-} -- | -- Module : Data.BERT.Term -- Copyright : (c) marius a. eriksen 2009
Network/BERT/Server.hs view
@@ -80,6 +80,8 @@ -- > serve t dispatch -- > -- > dispatch "calc" "add" [IntTerm a, IntTerm b] = --- > return $ Right $ IntTerm (a + b)--- > dispatch _ _ _ = do--- > return $ Left "no such m/f!"+-- > return $ Success $ IntTerm (a + b)+-- > dispatch "calc" _ _ =+-- > return NoSuchFunction+-- > dispatch _ _ _ =+-- > return NoSuchModule
bert.cabal view
@@ -1,6 +1,6 @@ cabal-version: >= 1.6 name: bert-version: 1.1.2+version: 1.1.2.1 build-type: Simple license: BSD3 license-file: LICENSE@@ -9,8 +9,14 @@ synopsis: BERT implementation description: Implements the BERT serialization and RPC protocols described at <http://bert-rpc.org/>.-maintainer: marius a. eriksen+maintainer: Roman Cheplyaka <roma@ro-che.info> copyright: (c) 2009-2011 marius a. eriksen+homepage: https://github.com/feuerbach/bert+bug-reports: https://github.com/feuerbach/bert/issues++source-repository head+ type: git+ location: git@github.com:feuerbach/bert.git library build-depends: base == 4.*, containers >= 0.2,