git.iko.soy/rowtype-yoga/purescript-uuid
on main help sign in
Merge pull request #3 from athanclark/master

updated to 0.11

commit72ba3adcf48cc49f61409dc05405f6b60539ac8e authorMichael Trotter <spicydonuts@users.noreply.github.com> dateThu 22 Jun 2017, 17:10 (9 years ago) parent4c0cd013f1f65f
2 files changed+5−6
bower.json+3−4 src/Data/UUID.purs+2−2
bower.json+3−4
@@ -1,6 +1,5 @@
11{
22 "name": "purescript-uuid",
3− "version": "2.0.1",
43 "moduleType": [
54 "node"
65 ],
@@ -16,10 +15,10 @@
1615 },
1716 "license": "MIT",
1817 "dependencies": {
19− "purescript-eff": "^2.0.0"
18+ "purescript-eff": "3.x"
2019 },
2120 "devDependencies": {
22− "purescript-console": "^2.0.0",
23− "purescript-spec": "~0.10.0"
21+ "purescript-console": "3.x",
22+ "purescript-spec": "1.x"
2423 }
2524}
src/Data/UUID.purs+2−2
@@ -6,13 +6,13 @@ module Data.UUID
66 ) where
77
88import Prelude (class Ord, class Eq, class Show, compare, (==), ($), pure, (<<<), (>>=))
9−import Control.Monad.Eff (Eff)
9+import Control.Monad.Eff (Eff, kind Effect)
1010import Data.Maybe (Maybe(Nothing, Just))
1111
1212newtype UUID = UUID String
1313
1414-- | The effect of generating a new UUID.
15−foreign import data GENUUID :: !
15+foreign import data GENUUID :: Effect
1616
1717foreign import getUUIDImpl :: forall e. Eff (uuid :: GENUUID | e) String
1818