monadiccp-0.7.7: Constraint Programming

Safe HaskellNone
LanguageHaskell98

Control.CP.FD.OvertonFD.Domain

Documentation

class ToDomain a where Source #

Minimal complete definition

toDomain

Methods

toDomain :: a -> Domain Source #

Instances

ToDomain () Source # 

Methods

toDomain :: () -> Domain Source #

Integral a => ToDomain a Source # 

Methods

toDomain :: a -> Domain Source #

ToDomain IntSet Source # 
ToDomain Domain Source # 
Integral a => ToDomain [a] Source # 

Methods

toDomain :: [a] -> Domain Source #

(Integral a, Integral b) => ToDomain (a, b) Source # 

Methods

toDomain :: (a, b) -> Domain Source #