Search results
Jump to navigation
Jump to search
- <pre class="haskell">import System.IO.Unsafe <pre class="haskell">import System.IO.Unsafe21 KB (3,408 words) - 09:26, 9 September 2014
- unsafeIOToPTM :: IO a -> PTM a atomically :: PTM a -> IO a19 KB (2,840 words) - 16:41, 1 August 2021
- The control-event package provides the capability to schedule and cancel IO () actions for arbitrary absolute times. Source code is available from hac1 KB (192 words) - 10:06, 20 April 2021
- instance VarMonad IO IORef where ...1 KB (198 words) - 22:52, 21 July 2021
- onCommit :: IO a -> STM () The idea is that onCommit would queue up an IO action to be performed when the transaction commits, but without any atomic24 KB (3,463 words) - 05:20, 12 July 2021
- ...reasonably familiar with Haskell and in particular, writing code using the IO [[Monad]]. ...me <hask>ReaderT r IO</hask> monad but <hask>mainQuit</hask> is just <hask>IO</hask>.9 KB (1,531 words) - 08:59, 23 May 2021
- -- that function to take it out of the IO monad? without moving entirely into a "black box" IO-based testing model.8 KB (1,186 words) - 20:49, 28 May 2021
- import System.IO , optInput :: IO String8 KB (1,082 words) - 23:30, 3 December 2020
- TVs, outputs, and inputs are not restricted to GUIs and IO. In general, they are parameterized by the mechanics of "transmitting valu ...two different mechanisms, namely [[Phooey]]'s <hask>UI</hask> AF and <hask>IO</hask>. The sinks are counterparts <hask>IU</hask> and <hask>OI</hask>.13 KB (1,988 words) - 02:05, 24 September 2021
- evalRandIO :: Rand StdGen a -> IO a You may also want a MonadRandom instance for IO:6 KB (894 words) - 13:41, 2 April 2019
- 3 KB (553 words) - 12:08, 13 August 2015
- <haskell>>main :: IO () ...'s own thread however. So we'll have to send GTK a drawing action(of type IO a). We can use one of two functions to do this. postGUIAsync, which simpl4 KB (613 words) - 21:06, 7 October 2014
- ...ss a random number]]: Simple 'guess the random number game', demonstrating IO, random numbers, and basic environment interaction (getArgs, exitWith, user1 KB (203 words) - 15:17, 6 February 2021
- myTest :: Int -> ListT IO (Int, Int) runMyTest :: Int -> IO (Int, Int)13 KB (2,036 words) - 13:54, 4 July 2023
- getCPUTimeDouble :: IO Double2 KB (224 words) - 21:06, 6 January 2019
- :: Ptr a -> IO (Ptr a) > OCIHandle -> Ptr OCIHandle -> CInt -> CInt -> Ptr a -> IO CInt16 KB (2,449 words) - 17:06, 17 April 2017
- ...face, allowing constant-space response construction without needing [[Lazy IO|lazy I/O]]. Backends available are currently a simple server, CGI, FastCGI,2 KB (217 words) - 12:02, 19 April 2024
- ...n be serialised in their current evaluation state, including functions and IO actions. This opens the way to interesting applications such as memoisation1 KB (204 words) - 06:38, 16 September 2013
- ...PaperStore/db-utwente-0000003696.pdf The Haskell Programmer's Guide to the IO Monad] # 特にIOの使い方を知りたい方5 KB (398 words) - 11:37, 22 October 2022
- ...o the game objects correspondignly. The input comes from non-deterministic IO sources (time, gamepad, harddisk etc.).2 KB (278 words) - 10:21, 16 September 2015