Add classifier settings

This commit is contained in:
Eike Kettner
2020-08-28 22:17:49 +02:00
parent 53fdb100ab
commit 8c4f2e702b
17 changed files with 649 additions and 56 deletions

View File

@ -1,5 +1,6 @@
module Data.Validated exposing
( Validated(..)
, isInvalid
, map
, map2
, map3
@ -14,6 +15,19 @@ type Validated a
| Unknown a
isInvalid : Validated a -> Bool
isInvalid v =
case v of
Valid _ ->
False
Invalid _ _ ->
True
Unknown _ ->
False
value : Validated a -> a
value va =
case va of