on master help sign in
Merge pull request #2715 from cmcl/fix-effect-comment

Fixed comment of Effect type; ordering incorrect and vague.

commit559a903c9b61293baaea35c62268adfdbd12e1c2 authorEdwin Brady <edwin.brady@gmail.com> dateWed 21 Oct 2015, 08:31 (11 years ago) parent3d5ead37806ff5
1 file changed+2−2
libs/effects/Effects.idr+2−2
libs/effects/Effects.idr+2−2
@@ -12,9 +12,9 @@ import Data.Vect
1212||| The Effect type describes effectful computations.
1313|||
1414||| This type is parameterised by:
15−||| + The input resource.
1615||| + The return type of the computation.
17−||| + The computation to run on the resource.
16+||| + The input resource.
17+||| + The computation to run on the resource given the return value.
1818Effect : Type
1919Effect = (x : Type) -> Type -> (x -> Type) -> Type
2020