File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
Copyright (c) 2014-2015, Edward Kmett
2
- Copyright (c) 2009-2014 , Sven Panne
2
+ Copyright (c) 2009-2016 , Sven Panne
3
3
All rights reserved.
4
4
5
5
Redistribution and use in source and binary forms, with or without
Original file line number Diff line number Diff line change 1
1
name : StateVar
2
- version : 1.1.0.3
2
+ version : 1.1.0.4
3
3
synopsis : State variables
4
4
description :
5
5
This package contains state variables, which are references in the IO monad,
6
6
like IORefs or parts of the OpenGL state.
7
7
homepage : https://github.com/haskell-opengl/StateVar
8
8
bug-reports : https://github.com/haskell-opengl/StateVar/issues
9
- copyright : Copyright (C) 2014-2015 Edward A. Kmett, 2009-2015 Sven Panne
9
+ copyright : Copyright (C) 2014-2015 Edward A. Kmett, 2009-2016 Sven Panne
10
10
license : BSD3
11
11
license-file : LICENSE
12
12
author : Sven Panne and Edward Kmett
Original file line number Diff line number Diff line change 10
10
--------------------------------------------------------------------------------
11
11
-- |
12
12
-- Module : Data.StateVar
13
- -- Copyright : (c) Edward Kmett 2014-2015, Sven Panne 2009-2014
13
+ -- Copyright : (c) Edward Kmett 2014-2015, Sven Panne 2009-2016
14
14
-- License : BSD3
15
15
--
16
16
-- Maintainer : Sven Panne <[email protected] >
@@ -193,7 +193,7 @@ instance HasSetter (TVar a) a where
193
193
infixr 2 $~ , $~!
194
194
195
195
-- | This is the class of all updatable state variables.
196
- class HasSetter t a => HasUpdate t a b | t -> a b where
196
+ class HasSetter t b => HasUpdate t a b | t -> a b where
197
197
-- | Transform the contents of a state variable with a given funtion.
198
198
($~) :: MonadIO m => t -> (a -> b ) -> m ()
199
199
#if USE_DEFAULT_SIGNATURES
You can’t perform that action at this time.
0 commit comments