| Copyright | Copyright (c) Patrick Perry <patperry@stanford.edu> |
|---|---|
| License | BSD3 |
| Maintainer | Patrick Perry <patperry@stanford.edu> |
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell98 |
Data.Choose.IO
Description
Mutable combinations in the IO monad.
Synopsis
- data IOChoose
- module Data.Choose.MChoose
Combinations
A mutable combination that can be manipulated in the IO monad.
Instances
| Eq IOChoose Source # | |
| MChoose IOChoose IO Source # | |
Defined in Data.Choose.MChoose Methods getPossible :: IOChoose -> IO Int Source # getSize :: IOChoose -> IO Int Source # newChoose :: Int -> Int -> IO IOChoose Source # newChoose_ :: Int -> Int -> IO IOChoose Source # unsafeGetElem :: IOChoose -> Int -> IO Int Source # unsafeSetElem :: IOChoose -> Int -> Int -> IO () Source # getElems :: IOChoose -> IO [Int] Source # setElems :: IOChoose -> [Int] -> IO () Source # | |
Overloaded mutable combination interface
module Data.Choose.MChoose