Search results

Jump to navigation Jump to search
  • -- that function to take it out of the IO monad? without moving entirely into a "black box" IO-based testing model.
    8 KB (1,214 words) - 00:46, 23 October 2017
  • tablen :: Int -> ([Bool] -> Bool) -> IO ()
    899 bytes (132 words) - 19:51, 18 January 2014
  • main :: IO () mainLoop :: Socket -> IO ()
    11 KB (1,739 words) - 04:19, 19 April 2024
  • all have to do with IO?". Well, in Haskell, IO is a monad. How does this mesh with the notion of a
    18 KB (3,270 words) - 05:36, 9 March 2021
  • storeNewNote :: DB -> Note -> IO () changeNoteContent :: DB -> Doc -> Note -> IO ()
    12 KB (1,556 words) - 15:19, 6 February 2021
  • Instead of state monads (like <hask>IO</hask>), Disciple uses default strict evaluation and effect typing to deal In Haskell, because <hask>putStr</hask> prints to the screen it has the <hask>IO</hask> constructor in its return type:
    5 KB (834 words) - 04:20, 8 June 2023
  • It may be possible to use a simpler, more specific type than <code>IO</code> for certain tasks. randomDist :: (Random a, Num a) => (a -> a) -> IO a
    10 KB (1,634 words) - 22:52, 6 April 2022
  • <pre class="haskell">import System.IO.Unsafe <pre class="haskell">import System.IO.Unsafe
    21 KB (3,408 words) - 09:26, 9 September 2014
  • unsafeIOToPTM :: IO a -> PTM a atomically :: PTM a -> IO a
    19 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 hac
    1 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 atomic
    24 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 String
    8 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
  • ...raries !! Threads !! class="unsortable" | Package support !! Stdio !! File IO !! Tree Shaking !! DOM ! style="font-size:80%;" | File IO
    5 KB (558 words) - 18:02, 26 October 2020
  • 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 simpl
    4 KB (613 words) - 21:06, 7 October 2014

View (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)