Ticket #1274: monadstate.diff

File monadstate.diff, 1.4 KB (added by mux, 9 years ago)
Line 
1
2New patches:
3
4[Add a MonadState instance for Parsec
5Maxime Henrion <mux@FreeBSD.org>**20070413181900] {
6hunk ./Text/ParserCombinators/Parsec/Prim.hs 46
7+import Control.Monad.State (MonadState(..))
8hunk ./Text/ParserCombinators/Parsec/Prim.hs 282
9+-----------------------------------------------------------
10+-- MonadState: get and put
11+-----------------------------------------------------------
12+instance MonadState st (GenParser tok st) where
13+  get = getState
14+  put = setState
15hunk ./parsec.cabal 26
16-build-depends: base
17+build-depends: base, mtl
18}
19
20Context:
21
22[Fix -Wall warnings
23Ian Lynagh <igloo@earth.li>**20070411012236]
24[parse (but don't pass on) options for ./configure
25Ian Lynagh <igloo@earth.li>**20070406153743]
26[make Setup suitable for building the libraries with GHC
27Ian Lynagh <igloo@earth.li>**20070308163423]
28[optionMaybe
29Maxime Henrion <mux@FreeBSD.org>**20070313204006
30 
31 This patch adds a new combinator that is a specialized version of the
32 "option" combinator, wrapping the result into a Maybe type.
33]
34[record extensions used
35Ross Paterson <ross@soi.city.ac.uk>**20070211152646]
36[TAG 6.6 release
37Ian Lynagh <igloo@earth.li>**20061011124740]
38[add boilerplate Setup.hs
39Ross Paterson <ross@soi.city.ac.uk>**20060928231525]
40[TAG Initial conversion from CVS complete
41John Goerzen <jgoerzen@complete.org>**20060112154137]
42Patch bundle hash:
43f6f8867d58625f56fb730a441c06990730cdc0f9