fdp2/Lexicon.hs
2017-01-14 16:13:50 +01:00

11 lines
184 B
Haskell

{-# LANGUAGE MultiParamTypeClasses #-}
module Lexicon (Lexicon,dic)
where
import Control.Monad.Plus
class (MonadPlus m) => Lexicon m a d where
dic :: d -> String -> m a