Skip to content
/ isit Public

Quasi-quoter to check if an expression satisfies a pattern

License

Notifications You must be signed in to change notification settings

abbradar/isit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

isit

Quasi-quoter to check if an expression satisfies a pattern

Example

λ filter [is|Left (Just 4)|] [Right "test", Left (Just 4), Left Nothing]
[Left (Just 4)]
λ let x = 4
λ filter [is|Left (Just x)|] [Right "test", Left (Just 4), Left Nothing]
[Left (Just 4)]
λ :t [is|Just _|]
[is|Just _|] :: Maybe t -> Bool

About

Quasi-quoter to check if an expression satisfies a pattern

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published