Search results

Jump to navigation Jump to search
  • newtype MonadTransformer t m a = MonadTransformer (t m a) * <hask>m :: * -> *</hask>,
    1 KB (192 words) - 23:01, 5 April 2021
  • newtype NondetT m a = NondetT { mkNondetT :: (forall b. (a -> m b -> m b) -> m b -> m b) }
    1 KB (223 words) - 07:25, 15 June 2022
  • newtype ListT m a = ListT { runListT :: m (Maybe (a, ListT m a)) } foldListT :: Monad m => (a -> m b -> m b) -> m b -> ListT m a -> m b
    2 KB (402 words) - 06:31, 12 May 2015
  • parent :: MonadPlus m => Sheep -> m Sheep grandparent :: MonadPlus m => Sheep -> m Sheep
    1 KB (151 words) - 08:45, 9 April 2021
  • mother ms >>= \m -> father m
    1 KB (147 words) - 08:41, 9 April 2021
  • (**) Calculate Euler's totient function phi(m) (improved). totient m = product [(p - 1) * p ^ (c - 1) | (p, c) <- prime_factors_mult m]
    373 bytes (58 words) - 19:46, 18 January 2014
  • newtype SupplyT s m a = SupplyT (StateT [s] m a) class Monad m => MonadSupply s m | m -> s where
    1 KB (202 words) - 05:09, 4 April 2014
  • Lotto: Draw N different random numbers from the set 1..M. diffSelect n m = do
    2 KB (244 words) - 00:09, 7 April 2019
  • ETAGS allows jumping to the definition of names at the point via <code>M-.</code>. To generate tags (a TAGS file) for a project, you need [http://h Run <code>M-x haskell-process-generate-tags</code> to generate the TAGS file of the [[S
    1 KB (170 words) - 18:23, 11 April 2016
  • mother ms >>= \m -> father m
    4 KB (454 words) - 02:33, 7 January 2022
  • class (Monad m) => MonadPlus m where mzero :: m a
    2 KB (240 words) - 22:55, 5 April 2021
  • class Monad m => MonadExit e m | m -> e where exitWith :: e -> m a
    4 KB (707 words) - 09:43, 9 December 2014
  • class Monad m => VarMonad m v where new :: a -> m (v a)
    1 KB (198 words) - 22:52, 21 July 2021
  • type M p a = p -> a unit :: Partible p => a -> M p a
    4 KB (691 words) - 08:14, 12 June 2023
  • instance (Applicative m) => Applicative (ReaderT r m) where ... instance (Alternative m) => Alternative (ReaderT r m) where ...
    3 KB (378 words) - 15:19, 6 February 2021
  • class Functor m => Monad m where return :: alpha -> m alpha
    3 KB (547 words) - 07:53, 16 April 2019
  • goldbachList n m = map goldbach $ dropWhile (<4) $ filter even [n..m] goldbachList' n m i = filter (\(x,y) -> x > i && y > i) $ goldbachList n m
    992 bytes (161 words) - 19:48, 18 January 2014
  • $ ./a.out "%a %b %e %H:%M:%S %Z %Y" $ ./a.out "%y-%m-%d"
    543 bytes (78 words) - 15:19, 6 February 2021
  • range n m | n == m = [n]
    1 KB (214 words) - 02:08, 5 April 2014
  • import Data.Map as M (fromList,union, Map()) keys = \c -> myKeys c `M.union` keys def c
    6 KB (615 words) - 23:47, 28 November 2018
  • class Monad m => MonadZero m where mzero :: m a
    4 KB (609 words) - 18:22, 23 June 2015
  • data T m a = Cons { write :: a -> m (), read :: m a } modify :: Monad m => T m a -> (a -> a) -> m ()
    2 KB (338 words) - 20:04, 13 May 2020
  • class (Monad m) => MonadRandom m where getRandom :: (Random a) => m a
    6 KB (894 words) - 13:41, 2 April 2019
  • * ''Could not deduce (Functor m) from the context (Monad m)<br/>arising from a use of fmap'' * ''Could not deduce (Functor m) from the context (Monad m)<br/>arising from the superclasses of an instance declaration''
    2 KB (374 words) - 00:43, 9 April 2021
  • newtype MaybeT m a = MaybeT { runMaybeT :: m (Maybe a)
    5 KB (801 words) - 19:04, 8 February 2014
  • * <code>return :: Monad m => a -> m a</code>: | <code>:: m a</code>
    6 KB (988 words) - 04:35, 16 March 2021
  • --slice xs m n = [(xs !! (m-1)) .. (xs !! (n-1))] slice lst 1 m = slice' lst m []
    3 KB (560 words) - 22:51, 3 December 2020
  • duplicate :: Monad m => a -> Producer a m () doubleUp :: Monad m => Consumer String m String
    2 KB (215 words) - 09:14, 19 June 2015
  • ! !! <code>QDiagram ... m</code> !! <code>Diagram</code> ! <code>QDiagram ... m</code>
    3 KB (373 words) - 20:53, 2 June 2017
  • ...ldi ásamt auka upplýsingum. Auka upplýsingarnar eru mismunandi fyrir hvern mónað. Fyrir Either eru auka upplýsingarnar eitt Boolean: annaðhvort Left return :: (Monad m) => a -> m a
    3 KB (553 words) - 12:08, 13 August 2015
  • ack m 0 = ack (m-1) 1 ack m n = ack (m-1) (ack m (n-1))
    7 KB (356 words) - 07:44, 16 November 2019
  • | <haskell>m</haskell> | <haskell>m</haskell>
    5 KB (788 words) - 10:40, 1 February 2024
  • class Map m k v where empty :: m k v
    3 KB (170 words) - 23:05, 29 June 2021
  • fisherYatesStep (m, gen) (i, x) = ((insert j x . insert i (m ! j)) m, gen') {- | @grabble xs m n@ is /O(m*n')/, where @n' = min n (length xs)@
    5 KB (743 words) - 13:10, 9 May 2017
  • Just m -> putLine "" ("Success") doc body showmsg t m doc body =
    4 KB (517 words) - 04:59, 26 April 2021
  • newtype ContT r m a ...tT'' behaves like the identity monad. A computation of type <hask>ContT r m a</hask> is a CPS computation with an intermediate result of type <hask>a</
    12 KB (2,067 words) - 05:43, 9 March 2021
  • f k m | r == 1 = (k,m)
    4 KB (605 words) - 17:09, 18 July 2022
  • instance (Monoid m, Error e) => Monad (DRMonad e s w) where bindDRMonad :: Monoid m => DRMonad a e s w -> (a -> DRMonad b e s w) -> DRMonad b e s w
    6 KB (995 words) - 23:51, 16 April 2021
  • ...hask>m</hask> be a <hask>Monad'</hask>, a type with four parameters: <hask>m s a s' b</hask>. m s a s' b -> ( b -> m s' b s'' c ) -> m s a s'' c
    6 KB (1,053 words) - 03:27, 9 April 2021
  • Student: Hey, you're cheating! I'm the one doing all the work here! I'm generating primes faster than I need them, so really I'm stealing
    3 KB (445 words) - 15:19, 6 February 2021
  • I'm not sure about <code>Style</code> yet. type Context b v m = Style v ::: Name ::: SubMap b v m ::: ()
    7 KB (1,077 words) - 14:56, 12 June 2014
  • * jmelesky: i'm interested. maybe a "wrap a C library for hackage" hackathon?
    274 bytes (36 words) - 02:36, 9 April 2021
  • class Functor m where fmap :: (a -> b) -> m a -> m b
    8 KB (1,232 words) - 01:58, 8 October 2014
  • ...''m'' as precisely what you need in order to fold up a list of values of ''m''. class Semigroup m where
    7 KB (1,101 words) - 02:30, 27 December 2019
  • return :: (Monad m) => a -> m a liftM :: (Monad m) => (a1 -> r) -> m a1 -> m r
    7 KB (1,165 words) - 20:40, 31 October 2019
  • magic m n = m : (magic n (m+n)) ...me expression (bound to <code>m</code> in <code>magic n m = n : magic m (n+m)</code>), and so the second <code>(1+1)</code> is now 2 as well. The first
    4 KB (708 words) - 23:10, 19 April 2021
  • ...framework for writing stateful, elastically scalable, AP microservices. I'm probably going to be working on the cluster rebalancing system. Also, help ...for getting native cross platform GUI up and running quickly and easily. I'm probably going to work on patching the missing Linux High DPI support. Any
    2 KB (362 words) - 15:04, 21 October 2016
  • - foldM :: Monad m => (a -> b -> m a) -> a -> [b] -> m a + foldM :: (Foldable t, Monad m) => (b -> a -> m b) -> b -> t a -> m b
    14 KB (2,640 words) - 11:47, 26 November 2023
  • problem_21 = sum [m+n | m <- [2..9999], let n = divisorsSum ! m, amicable m n] where amicable m n = m < n && n < 10000 && divisorsSum ! n == m
    8 KB (1,054 words) - 15:53, 11 October 2015
  • newtype ListT m a = ListT { runListT :: m [a] } instance (Monad m) => Monad (ListT m) where
    13 KB (2,036 words) - 13:54, 4 July 2023
  • sort xs n f = let m = f xs in m : sort [x | x <- xs, x /= m] (n + 1) f
    2 KB (325 words) - 03:50, 10 January 2017
  • SETX /M PATH "%SDL_DIR%\bin;%PATH%" SETX /M LIBRARY_PATH "%SDL_DIR%\bin;C:\Programs\MinGW\lib;%LIBRARY_PATH%"
    6 KB (984 words) - 23:58, 17 June 2016
  • data T m = MkT (m Int) deriving Eq instance Eq (m Int) => Eq (T m) where ...
    5 KB (755 words) - 22:49, 12 June 2021
  • (**) Calculate Euler's totient function phi(m). ...ined as the number of positive integers r (1 <= r < m) that are coprime to m.
    1 KB (224 words) - 19:44, 18 January 2014
  • where I'm writing the kind argument explicitly. To be fully clear, I'm writing <hask>List</hask> for the type constructor for lists (written <hask
    2 KB (242 words) - 23:38, 24 July 2021
  • preInTree :: Monad m => String -> String -> m (Tree Char)
    2 KB (280 words) - 03:43, 10 January 2017
  • minus :: (Monad m) => [CharCount] -> [CharCount] -> m [CharCount]
    2 KB (256 words) - 15:19, 6 February 2021
  • Prelude> :m Database.HDBC Prelude Database.HDBC> :m + Database.HDBC.ODBC
    1 KB (210 words) - 11:52, 19 April 2021
  • unusual m f g = (m f [1,2,4,7] , m g ['A','C','M'] ) unusual m f g nu se poate infera un (cel mai mic) tip al lui m deoarece m este folosit odata ca <br>
    4 KB (617 words) - 03:01, 9 April 2021
  • import qualified Data.Map as M keys = \c -> myKeys c `M.union` keys desktopConfig c,
    4 KB (452 words) - 14:23, 2 May 2018
  • | i <- [0..], let x = m + 60*i, test x y ] | m <- [1..60], n <- [1..60], mod (poly m n) 60 == k ]
    5 KB (679 words) - 17:14, 4 February 2023
  • maxmin Empty m = (0, m) maxmin (Branch _ l r) m = (max m $ max max_l max_r, min min_l min_r) where
    9 KB (727 words) - 03:41, 10 January 2017
  • *<code>C-c M-.</code> find definition of (interpreted) symbol at point (See <code>C-h m</code> for more information).
    2 KB (358 words) - 18:22, 11 April 2016
  • left :: (MonadPlus m) => t a -> m (t a) right :: (MonadPlus m) => t a -> m (t a)
    5 KB (872 words) - 13:14, 2 September 2014
  • (Please see screenshot below) and, In an emacs buffer, type (M-x list-colors-display) I'm looking to modify haskell-mode in emacs so that each type decleration has t
    2 KB (249 words) - 22:40, 29 June 2021
  • ...>M</math> is a matrix <math>M^{-1}</math> such that <math>MM^{-1} = M^{-1} M = I</math>, the identity matrix (with ones along the diagonal and zeros eve The ''transpose'' of a matrix (denoted <math>M^\top</math>) is the matrix you get when you reflect all the entries about t
    14 KB (2,245 words) - 03:01, 11 April 2015
  • triangs = [p | n <- [2 .. 1000], m <- [1 .. n - 1], odd (m + n), m `gcd` n == 1, let p = 2 * (n ^ 2 + m * n), p <= limit]
    7 KB (972 words) - 02:57, 3 May 2015
  • ...achieve something similar to currying, see [http://en.wikipedia.org/wiki/S-m-n_theorem Kleene's <math>s^m_n</math> theorem]). So using <math>f:A\times B For all <math>0\leq i<m</math>:
    13 KB (2,068 words) - 23:19, 3 June 2019
  • editDistance xs ys = table ! (m,n) (m,n) = (length xs, length ys)
    4 KB (640 words) - 21:05, 6 January 2019
  • ..."border-bottom:1px solid #eee">(**) Calculate Euler's totient function phi(m). <span style="float:right"><small>[[99 questions/Solutions/34|Solutions]]< ...ined as the number of positive integers r (1 <= r < m) that are coprime to m.
    6 KB (805 words) - 02:30, 11 June 2023
  • newtype ExceptionalT e m a = ExceptionalT {runExceptionalT :: m (Exceptional e a)}
    10 KB (1,404 words) - 06:22, 22 January 2020
  • I'm assuming you are using <tt>lxsession</tt> to start LXDE.
    835 bytes (122 words) - 19:31, 28 January 2016
  • ...e</hask>. This is just a little helper function that takes the two terms I'm unifying, updates them with the MGU so far and calls the actual case-by-cas Right now, the slides themselves are a little broken, so I'm not putting them up yet.
    2 KB (410 words) - 11:26, 13 February 2019
  • *** A set <math>M</math> *** An identity <math>e \in M</math>
    13 KB (2,245 words) - 15:18, 6 February 2021
  • .../user/snoyberg/library-documentation/conduit-overview Conduit overview] by M. Snoyman
    1 KB (138 words) - 02:42, 13 July 2019
  • stringToTree :: (Monad m) => String -> m (Tree Char)
    2 KB (372 words) - 03:43, 10 January 2017
  • type M a = OI -> a unit :: a -> M a
    8 KB (1,236 words) - 12:36, 1 January 2024
  • lookup :: (Monad m, Ord t, Monoid v) => t -> IMap t v -> m v
    2 KB (315 words) - 15:19, 6 February 2021
  • Prelude> :m Database.HDBC Prelude Database.HDBC> :m + Database.HDBC.ODBC
    2 KB (286 words) - 08:45, 23 May 2021
  • mapM_ (\((m,d,i)) -> io (show m ++ "\t trees") d i) vs depth d m
    6 KB (1,055 words) - 23:27, 18 April 2020
  • poly m = [(n, x) | (n, x) <- zip [1..] $ takeWhile (<10000) $ scanl (+) 1 [m-1,2*m-3..],
    6 KB (979 words) - 10:20, 18 May 2022
  • | n,m | m
    2 KB (285 words) - 01:34, 14 July 2021
  • ...d method, ''return'', is specific to monads. If <code style="color:indigo">m</code> is a monad, then ...>a</code>, and gives a container of type <code>(<span style="color:indigo">m</span> <span style="color:firebrick">a</span>)</code>
    18 KB (3,270 words) - 05:36, 9 March 2021
  • *[https://scholar.google.com/citations?user=w6XYY_EAAAAJ Manuel M. T. Chakravarty] ==M==
    8 KB (1,251 words) - 05:43, 1 September 2022
  • type OSGT m = (StateT OSGState m) (<+>) :: Monad m => OSGT m SceneNode -> OSGT m SceneNode -> OSGT m SceneNode
    6 KB (988 words) - 04:52, 26 April 2021
  • triplets l = [[a,b,c] | m <- [2..limit], n <- [1..(m-1)],
    6 KB (881 words) - 02:31, 8 May 2016
  • class Monad m where (>>=) :: m a -> ( a -> m b) -> m b
    13 KB (1,870 words) - 11:14, 22 October 2022
  • I'm passionate about bringing the paradigm of tiled window management to a wide ==I'm having trouble installing Bluetile - any walkthrough available?==
    5 KB (770 words) - 23:20, 11 July 2021
  • import qualified Data.Map as M myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
    7 KB (748 words) - 15:19, 6 February 2021
  • ...tom:1px solid #eee">Lotto: Draw N different random numbers from the set 1..M. <span style="float:right"><small>[[99 questions/Solutions/24|Solutions]]</ * (lsort '((a b c) (d e) (f g h) (d e) (i j k l) (m n) (o)))
    6 KB (890 words) - 05:51, 10 June 2023
  • isPrime n = all ((/=0) . mod n) $ takeWhile (<= m) candidates m = floor . sqrt $ fromIntegral n
    3 KB (432 words) - 07:06, 11 May 2016
  • ack m 0 = ack (m-1) 1 ack m n = ack (m-1) (ack m (n-1))
    5 KB (786 words) - 22:17, 16 December 2020
  • , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
    1,023 bytes (104 words) - 15:18, 6 February 2021
  • newtype StateT s m a :: * -> (* -> *) -> * -> *
    2 KB (234 words) - 19:05, 28 September 2017
  • M = Meta = Alt|Esc |M-f
    9 KB (1,413 words) - 00:17, 24 November 2014
  • ((h |/ "db" *> m) <|> output "not found")) m :: UrlDisp (ReaderT Connection (CGIT IO)) CGIResult
    4 KB (592 words) - 21:17, 29 June 2021
  • zipWithTFM :: (Traversable t,Foldable f,Monad m) => (a -> b -> m c) -> t a -> f b -> m (t c)
    11 KB (1,895 words) - 19:00, 18 May 2020
  • factor m (p:ps) | p*p > m = [m] | m `mod` p == 0 = p : factor (m `div` p) (p:ps)
    11 KB (1,557 words) - 09:03, 19 September 2014
  • freeFallFrom10Meters :: ClSF m cl a Pos Here, <hask>m</hask> is an arbitrary monad and <hask>cl</hask> is an arbitrary clock type
    8 KB (1,207 words) - 21:07, 26 September 2018
  • ...ut modeling units (seconds, meters, meters per second, etc) in Haskell? I'm particularly interested in getting the typechecker to verify proper usage, ...can't see a good way of handling it without forcing a choice of basis. I'm also not sure how it would work -- the whole point of GA is to incorporate
    3 KB (521 words) - 07:04, 13 September 2016
  • stackStates m = State . List.mapAccumL (runState . m)
    3 KB (531 words) - 15:19, 6 February 2021
  • == I-M ==
    4 KB (637 words) - 02:02, 6 May 2024
  • m :: M T h :: U -> M V
    10 KB (1,560 words) - 12:02, 15 April 2024
  • factors n = filter (\m -> n `mod` m == 0) [2 .. (n - 1)]
    3 KB (450 words) - 20:07, 19 October 2020
  • I'm not even sure if I like the code more than the resulting binaries sometimes I think I'm getting it...amazing. Start by understanding IO. Then realize what a monad
    2 KB (390 words) - 15:19, 6 February 2021
  • * I'm satisfied with Persistent, though there is still plenty to be done in this
    1 KB (194 words) - 18:09, 27 January 2018
  • ...ies which are present on your system. However I haven't tried it because I'm running Nixos myself. I'm pretty sure I've missed important things you're interested in.
    5 KB (726 words) - 10:39, 5 January 2018
  • * M Farkas-Dyck
    1 KB (158 words) - 00:18, 17 June 2021
  • ...m a b</code>) corresponds to the type <code>(a -> m b)</code>, where <code>m</code> is a monadic type. It's defined in <code>Control.Arrows</code> simi newtype Kleisli m a b = Kleisli {
    8 KB (1,315 words) - 00:43, 16 May 2024
  • type Mobit m a = Monad m => m a m >> n === n >> m
    6 KB (1,032 words) - 16:45, 2 December 2020
  • class (Monad m) => MonadAdvSTM m where onCommit :: IO a -> m ()
    24 KB (3,463 words) - 05:20, 12 July 2021
  • mapM :: Monad m => (a -> m b) -> [a] -> m [b]
    5 KB (834 words) - 04:20, 8 June 2023
  • -- Monad m instance Functor m where
    10 KB (1,557 words) - 11:46, 24 October 2015
  • class Monoid m where mempty :: m
    21 KB (3,518 words) - 09:52, 14 May 2014
  • where sieve (n:ns) = n:sieve [ m | m <- ns, m `mod` n /= 0 ] where sieve (n:ns) = n:sieve [ m | m <- ns, m `mod` n /= 0 ]
    5 KB (696 words) - 19:46, 18 January 2014
  • arc(m,q,7). arc(p,m,5).
    11 KB (1,679 words) - 06:20, 11 June 2023
  • head :: (Monad m, Failure EmptyListFailure m) => [a] -> m a c-m-e provides a EM monad for explicitly typed, checked exceptions a la Java.
    6 KB (961 words) - 12:45, 12 August 2019
  • ;Impure Thoughts 2, B&D not S&M -(''Not licensed for this wiki; see the copy on [http://web.archive.org/web
    2 KB (241 words) - 22:48, 25 March 2017
  • abs m = m
    4 KB (684 words) - 02:22, 18 May 2020
  • m >>= k = \ u -> let !(u1, u2) = partOI u in let !x = m u1 in
    4 KB (674 words) - 07:12, 12 June 2023
  • putStrLn "I'm thinking of a number between 1 and 10, can you guess it?"
    2 KB (237 words) - 19:47, 9 January 2018
  • let m digit = in evalUpdateMaybe (mconcat $ map m str) 0
    5 KB (822 words) - 10:42, 2 February 2018
  • Before showing off the evaluator, I'm going to need several dummy types > test4 = eval (bot :: M P) :: App P P
    10 KB (1,653 words) - 00:25, 12 July 2021
  • Apply ’support.patch’ to alter the build systems of the libtiny_{c,gcc,gmp,m}.a and build the libraries. > cp ghc-6.8.2/rts/libHSrts.a support/libtiny_{c,gcc,gmp,m}.a $WDIR
    8 KB (1,231 words) - 18:14, 20 February 2017
  • (y,m,d) = toGregorian $ utctDay c --> (2009,4,21)
    2 KB (224 words) - 21:06, 6 January 2019
  • , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
    2 KB (189 words) - 01:17, 9 April 2021
  • Edit by somebody else: I'm not the author of this, however I think there are some erros in the definit , (c, m@[q,_,_]) <- zip [2,1,0,3] face
    8 KB (1,020 words) - 01:02, 23 September 2018
  • class Monad m => MonadLogger m f :: MonadLogger m => Int -> m String
    9 KB (1,408 words) - 20:31, 2 October 2016
  • Plugging Haskell In. André Pang, Don Stewart, Sean Seefried, and Manuel M. T. Chakravarty. In Proceedings of the ACM SIGPLAN Workshop on Haskell, pag
    3 KB (432 words) - 05:52, 10 August 2022
  • ===I'm an OO programmer - how do I design Haskell programs?=== * Q: I'm an OO programmer. If we don't have sub-typing/inheritance, how can I get po
    10 KB (1,718 words) - 07:14, 10 August 2022
  • phi (S m) = s m phi (S m) = plus n m
    9 KB (1,367 words) - 09:34, 17 November 2022
  • genSeq (do m <- mults 9 1000 x let s = addZ 3 . reverse . explode $ m
    12 KB (1,626 words) - 05:45, 9 March 2021
  • import qualified Data.Map as M , keys = \c -> mykeys c `M.union` keys defaultConfig c
    2 KB (236 words) - 00:49, 27 January 2018
  • run m = evalState m 0 (>>) :: m () -> m a -> m a
    10 KB (1,589 words) - 01:08, 27 September 2021
  • === inferior-haskell-find-definition (C-c M-.) === ...load those, instead of interpreting your .hs files, which breaks <code>C-c M-.</code>. This seems like a bug, but there is an easy workaround: when com
    8 KB (1,358 words) - 17:26, 9 August 2019
  • import qualified Data.Map as M myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
    9 KB (1,218 words) - 15:17, 6 February 2021
  • # using the "M"s ## we can use all the "M" tricks we learned from IO
    10 KB (1,520 words) - 07:20, 10 November 2020
  • f n = let (d,m)=divMod n 2 in case m of m <- [1..12],
    8 KB (1,028 words) - 15:16, 16 September 2015
  • sequence :: Monad m => [m a] -> m [a]
    6 KB (1,024 words) - 23:56, 25 June 2021
  • m >>= f >>= g >>= h ...of <hask>m</hask> is, the portion of the program that executes after <hask>m</hask>, and it looks something like:
    25 KB (4,039 words) - 16:39, 12 March 2024
  • ...anslation used for the alignment in addition to actually performing it. I'm currently looking into this possibility.
    2 KB (397 words) - 20:05, 1 June 2015
  • ...t is a palindrome. A palindrome can be read forward or backward; e.g. (x a m a x).
    2 KB (320 words) - 00:08, 8 July 2019
  • * I'm interested in doing some work on pattern synonyms in GHC. * Library maintenance. I'm going to try to make maintenance releases for a number of libraries and too
    8 KB (1,326 words) - 20:19, 28 September 2014
  • enumRadio :: (Monad m, Enum a) => [(a, String)] -> Maybe a -> Form a validDate (Date m d) = m `elem` [1..12] && d `elem` [1..31]
    8 KB (985 words) - 06:56, 16 September 2013
  • Since f is not a pure function, it's f :: x -> y -> m c. The correct form would be
    2 KB (365 words) - 18:50, 19 September 2017
  • import qualified Data.Map as M myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
    10 KB (1,329 words) - 15:18, 6 February 2021
  • :Philip Johnson-Freyd, Paul Downen and Zena M. Ariola; Olivier Danvy & Ugo de’Liguoro (Eds.): WoC’15 Post-proceedings :Andre Pang, Don Stewart, Sean Seefried, and Manuel M. T. Chakravarty. In Proceedings of the ACM SIGPLAN Workshop on Haskell, pag
    9 KB (1,252 words) - 05:28, 1 September 2022
  • m >>= k = \t -> case m (left t) of !x -> k x (right t)
    6 KB (809 words) - 07:56, 12 June 2023
  • ...each of them provide. To test if haskell-mode is actually installed type: M-x haskell-<tab>. You should get a list of commands. Entering "haskell-mode"
    5 KB (698 words) - 17:44, 17 December 2023
  • scores m g = map (\x -> abs ((snd x) - score (fst x) g)) m scoreMind m g = sum $ scores m g
    15 KB (2,018 words) - 01:29, 26 April 2021
  • do m <- arbitrary let q = m `mod` 10
    8 KB (1,072 words) - 18:32, 16 January 2017
  • import qualified Data.Map as M myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
    12 KB (1,657 words) - 16:02, 4 June 2015
  • for Haskell, named Catch. I'm now happy to make a release:
    2 KB (353 words) - 08:17, 6 August 2015
  • I'm thinking of adding the following symbol as another alternative for (*). The TeX input method, invoked with <tt>M-x set-input-method</tt> and entering <tt>TeX</tt> allows you to enter Unico
    9 KB (1,396 words) - 23:18, 24 July 2021
  • ...hask>, change to <hask>Applicative m => ...</hask> (and maybe rename <hask>m</hask> to <hask>f</hask> or whatever).
    8 KB (1,326 words) - 08:20, 31 March 2022
  • , waitingUnmap :: !(M.Map Window Int) -- ^ the number of expected UnmapEvents ...is a bit more advanced, and not really a central part of the system, so I'm skipping it for now, hopefully coming back to add more later....
    13 KB (2,057 words) - 10:15, 28 September 2017
  • :set prompt "\ESC[34m\STX%s > \ESC[m\STX"
    3 KB (435 words) - 18:53, 22 January 2019
  • ...le: no good. Because sometimes you only have a single transformation (an 'M' node) instead of a split (:|:) and the only way to tell if it is frozen is (10:19) < byorgey> but I'm still not exactly sure what we should do in the second pass.
    9 KB (1,383 words) - 16:48, 18 November 2013
  • typeInfo m = do d <- m
    6 KB (836 words) - 19:46, 28 December 2013
  • ...e>DelayedLeaf</code> contains a funtion <code>DownAnnots v -> QDiagram b v m</code>, in other words a set of instructions about how to create the arrow can be expanded by running the function <code>DownAnnots v -> QDiagram b v m</code> on
    8 KB (1,340 words) - 13:19, 29 March 2014
  • And I'm quite sure that if a problem arises somewhere you can have a topic. I don't know if I can claim I'm a living proof of this
    9 KB (1,615 words) - 15:16, 6 February 2021
  • logText :: (MonadWriter String m) => String -> m () class Monad m => Locale m where
    10 KB (1,634 words) - 22:52, 6 April 2022
  • What I'm thinking is, suppose I have this function: ...tuff, because now we just have a Koza-esque genetic programming problem. I'm thinking I can start with a set of positions where we KNOW what the answer
    5 KB (819 words) - 01:04, 9 April 2021
  • import qualified Data.Map as M keys :: M.Map (KeyMask, KeySym) (X ())
    11 KB (1,532 words) - 15:18, 6 February 2021
  • I'm aware of the approach taken by class <hask>Show</hask> in the prelude,
    3 KB (526 words) - 16:09, 22 March 2017
  • Prelude> :m + Text.Show.Functions
    3 KB (430 words) - 00:30, 1 February 2016
  • :Philip Wadler. In M. Broy, editor, Marktoberdorf Summer School on Program Design Calculi, Sprin
    3 KB (361 words) - 06:58, 1 June 2022
  • ...suggestions, feel free to [mailto:tobias_bexelius@hotmail.com mail] me. I'm also interested in seeing some use cases from the community, as complex or
    3 KB (460 words) - 15:27, 6 January 2016
  • m >>= k = \ u -> let !(u1, u2) = partOI u !x = m u1
    11 KB (1,628 words) - 10:36, 5 April 2024
  • m >>= k = \u -> case part u of (u1, u2) -> case m u1 of
    13 KB (2,108 words) - 12:52, 1 January 2024
  • My project was refactoring programs with hlint suggestions. I'm Johan Tibell writes: I'm very happy with Adam's work strict Haskell. StrictData is already in HEAD a
    8 KB (1,152 words) - 13:09, 24 March 2018
  • bindIO (IO m) k = IO $ \ s -&gt; case m s of (# new_s, a #) -&gt; unIO (k a) new_s</pre> accursedUnutterablePerformIO (IO m) = case m realWorld# of (# _, r #) -&gt; r</pre>
    21 KB (3,408 words) - 09:26, 9 September 2014
  • I'm sure you know what method Bob likes most. confess. Luckily I'm not Bob and my beloved seems to appreciate this
    28 KB (4,668 words) - 15:16, 6 February 2021
  • import qualified Data.Map as M keys :: M.Map (KeyMask, KeySym) (X ())
    12 KB (1,574 words) - 15:16, 6 February 2021
  • * Conal M. Elliott in [https://vimeo.com/album/126865/video/6622658 Beautiful Differ
    3 KB (413 words) - 04:23, 7 October 2013
  • :set +m -v0 let main_module = head' [ m' | (m:m') <- ms, m == '*' ]
    21 KB (3,021 words) - 12:03, 15 May 2020
  • Performance is summarised (on OpenBSD/x86 1.6Ghz Pentium M): case readIntOffAddr# fm 0# s of { (# s, m #) ->
    22 KB (3,539 words) - 00:49, 14 December 2016
  • because I'm going to install the GHC cross-compiler in the same way, so I'm going to present the fixes to those issues now, rather
    13 KB (1,967 words) - 16:07, 9 August 2016
  • * [[GADT]]s (I'm still uncertain about this judgement, but they seem to be less troublesome
    3 KB (387 words) - 05:21, 12 July 2021
  • ...c patterns, animations, physics simulations, and casual games. In fact, I'm fairly comfortable saying that CodeWorld's collaboration API is the easiest
    4 KB (593 words) - 01:45, 27 March 2017
  • ...p://icfpc2011.blogspot.nl/2011/06/task-description-contest-starts-now.html?m=1 A project that I'm think about is:
    3 KB (503 words) - 18:18, 4 April 2017
  • Replacements for [[data]] constructors defined on monadic (aka M a values) from an arbitrar monad. Are used and usefull to reprezent simulta
    2 KB (340 words) - 22:22, 29 June 2021
  • I'm sorry, but my karma just ran over your dogma. Windows found - Remove? (Y)es (S)ure (F)ine (O)K (M)ake it so
    8 KB (1,343 words) - 09:02, 13 March 2016
  • Currently, I'm using Ghc to do the linking, and instruct it to link the c++ runtime librar This seems to work (with GHC 6.4.1 and G++ 3.3.5). However, I'm pretty
    15 KB (2,199 words) - 00:32, 23 May 2017
  • , floating :: M.Map a RationalRect -- ^ floating windows new l wids m | not (null wids) && length m <= length wids && not (null m)
    16 KB (2,690 words) - 16:02, 26 December 2022
  • ...me figure out how to make Yampa better. You do not need to be an expert, I'm very interested in the kinds of API-usability problems that users may run i
    3 KB (578 words) - 15:24, 29 May 2015
  • embed :: Monad m => m a -> (forall r. (a -> m r) -> m r) embed m = \k -> k =<< m
    35 KB (5,673 words) - 20:05, 7 July 2015
  • run :: GhcMonad m => ModSummary -> String -> m ()
    9 KB (1,261 words) - 15:40, 22 December 2017
  • ...ve started to explore as part of a course on computational modeling that I'm teaching]. Given that [http://www.cs.yale.edu/homes/hudak-paul/hudak-dir/A ...has been a few interested (and seemingly well qualified) students, too. I'm not sure if it qualifes as "AI", but if you are interested in this project
    8 KB (1,161 words) - 08:26, 1 December 2018
  • import qualified Data.Map as M errorsPerLine = M.fromList
    17 KB (1,020 words) - 07:22, 9 June 2023
  • [ ("M-m", spawn "echo 'Hi, mom!' | dzen2 -p 4") , ("M-<Backspace>", withFocused hide) -- N.B. this is an absurd thing to do
    28 KB (4,089 words) - 18:22, 5 February 2016
  • (I'm not claiming there are more advantages; it's just that I wrote this and can , (DateFormat, "%B %e, %Y %H:%M:%S")
    10 KB (1,542 words) - 05:40, 8 June 2023
  • ...u/~magnus/ Magnus Carlsson], OGI,[http://www.cse.unsw.edu.au/~chak/ Manuel M. T. Chakravarty], University of New South Wales,[http://www.cs.kent.ac.uk/p *<b>M:</b>[http://www.research.microsoft.com/~simonmar/ Simon Marlow], Microsoft,
    11 KB (1,759 words) - 09:41, 10 August 2022
  • I'm working on a database interface for document stores (think MongoDB) with ty ...mprove performance, code size and to make debugging the compiler easier. I'm looking for good real-world test cases that are relatively easy to run with
    11 KB (1,776 words) - 18:15, 3 September 2016
  • import qualified Data.Map as M f = let m = M.fromList
    9 KB (1,453 words) - 19:18, 3 February 2021
  • I'm delighted to hear this.
    4 KB (583 words) - 10:26, 26 December 2017
  • 8 iunie 2007 S-a primit de la domnul conf M. Gontineac stirea despre continuarea unor cercetari de algebra superioara c
    3 KB (399 words) - 14:50, 18 February 2015
  • ...type declaration on foreach2: Monad m => [a] -> [b] -> (a -> b -> m c) -> m () ...the Prelude operators. I also use infix operations like (+) and (:) but I'm very concerned with introducing lots of new operator symbols and `f` notati
    24 KB (4,110 words) - 01:13, 7 November 2020
  • -- n <- [r+1..q-1] Data.List.\\ [m | p <- px, m <- [0,p..q-1]]] [(m,()) | p <- px,
    18 KB (2,583 words) - 20:08, 19 December 2020
  • There are also -doc and -prof suffixes for various packages. I'm not sure what they contain.
    5 KB (613 words) - 20:56, 22 November 2016
  • Prelude> :m + System.Environment Data.Map.lookup :: (Ord k, Monad m) => k -> Data.Map.Map k a -> m a
    25 KB (3,657 words) - 18:20, 12 September 2015
  • I'm also very interested in suggestions or (better yet) collaboration on other
    3 KB (486 words) - 21:52, 29 June 2021
  • .../Hiw2012-jose-pedro-magalhaes.pdf Slides], [http://www.youtube.com/watch?v=m-ZU6rwm3Ow Video] * [http://www.cse.unsw.edu.au/~chak/ Manuel M T Chakravarty] (University of New South Wales)
    6 KB (790 words) - 03:05, 25 July 2021
  • ...e error or no error if the mistakenly imported function is type correct. I'm not sure if this would be an issue in practice, as it requires you to be im ...tStrLn if anything makes it more ambiguous. If we wanted to resolve this I'm sure GHC can disambiguate even if the user can't at the source level. Grant
    9 KB (1,515 words) - 23:39, 23 October 2014
  • , Run Date "%a %b %_d %l:%M" "date" 10
    6 KB (566 words) - 20:23, 21 June 2015
  • (Branch 'm' Empty Empty) (Branch 'm' Empty Empty)
    12 KB (1,696 words) - 05:35, 11 June 2023
  • | accessing the <code>n</code> elements starting from index <code>m</code>
    7 KB (1,020 words) - 21:02, 6 January 2019
  • * <code>QDiagram b v m -&gt; QDiagram b v n m</code>
    11 KB (1,707 words) - 01:06, 1 May 2015
  • ...J. Kamperman, P. Lee, X. Leroy, R. D. Lins, S. Loosemore, N. R&ouml;jemo, M. Serrano, J.-P. Talpin, J. Thackray, S. Thomas, P. Walters, P. Weis, and P.
    14 KB (2,263 words) - 06:31, 10 August 2022
  • ''.*({y}[0-9]{4})-({m}[0-9]{2})-({d}[0-9]{2}).*'' The three pairs of parentheses are labeled ''y'', ''m'' and ''d''. Let's see
    22 KB (3,425 words) - 22:34, 29 June 2021
  • Hint: A palindrome can be read forward or backward; e.g. (x a m a x).
    5 KB (719 words) - 05:27, 10 June 2023
  • ...I.hs<br /> ghci -package wx HelloTest.hs EnableGui.hs<br />-- followed by :m +EnableGUI and <br />enableGUI >> main</code>
    3 KB (496 words) - 14:04, 4 October 2014
  • :M Wallace, C Runciman - ACM SIGPLAN Notices, 1999 :Kooijman, M. (2009); master's thesis.
    9 KB (1,309 words) - 07:48, 18 September 2014
  • ...ap, we can never be sure if a key is present in a map, i.e. <hask>lookup x m</hask> may return <hask>Maybe</hask>. extend (show -> l) a (OR m) = OR $ M.insert l v m
    25 KB (4,073 words) - 08:53, 9 December 2013
  • enumFromTo n m = unfoldr (\i -> if i>m then Nothing else Just (i,i+1)) n
    15 KB (2,468 words) - 01:17, 8 April 2016
  • -- Win+M move window to master area import qualified Data.Map as M
    9 KB (1,195 words) - 15:17, 6 February 2021
  • ...(&forall; ''m'' &isin; '''N'''<sub>2</sub>) (&#8202;(''m'' | ''n'') &rArr; m = n)&#8202;} ...&isin; '''N'''<sub>2</sub>) (&#8202;''m''&#8202; &lt; ''n'' &rArr; &not;(''m'' | ''n''))&#8202;}
    58 KB (8,594 words) - 20:34, 6 May 2023
  • ...ve any questions, feedback feature requests, or bug reports for Ministg. I'm particularly keen to hear from anyone who has tried to use it, and would li | -m STEPS
    15 KB (2,396 words) - 07:19, 10 August 2022
  • :Manuel M. T. Chakravarty, Roman Leshchinskiy, Simon Peyton Jones, Gabriele Keller, a :SLP Jones, C Clack, J Salkild, M Hardie, 1987.
    9 KB (1,352 words) - 21:43, 10 May 2024
  • runOI g = case (useUO g) of ST m -> IO m
    11 KB (1,656 words) - 22:33, 4 July 2022
  • converge :: (Monad m, Eq a) => (a -> m a) -> a -> m a
    17 KB (2,482 words) - 20:34, 8 June 2017
  • class (Monad m) => Stream m h where vPutStrLn :: h -> String -> m ()
    21 KB (3,181 words) - 16:03, 14 March 2014
  • "I do love you; I'm charmed by your beautiful mind;
    5 KB (787 words) - 11:02, 26 December 2017
  • ...iting a ''[[function]]'' definition and call it <hask>factorial</hask>. I'm also adding a module header, which is good form. import qualified Data.Map as M
    13 KB (1,986 words) - 17:59, 9 August 2019
  • would totally screw up my program, so I'm not You can activate mmm-mode by running "M-x mmm-ify-by-class" in the buffer. Emacs will prompt you for the class to u
    10 KB (1,524 words) - 22:20, 13 November 2022
  • ...o something more clever <i>when f is actually applied</i> if a == b, but I'm supposing this isn't a straight-forward thing to implement in the compilers Thank you, the nature of the ''problem'' is getting clearer now, but I'm still confused about how the restriction of top level definitions is suppos
    16 KB (2,628 words) - 21:19, 16 December 2022
  • I'm going to take you step-by-step through the process of configuring Xmonad, s And here is a screenshot that points out what I'm talking about when I talk about the status bar and the tray:
    20 KB (3,066 words) - 13:01, 24 May 2020
  • 6. Once I'm satisfied and ready to compile: > (e, m) <- OCI.formatErrorMsg exc err
    16 KB (2,449 words) - 17:06, 17 April 2017
  • [ ("M-C-k", sendMessage $ MirrorExpand) , ("M-C-j", sendMessage $ MirrorShrink)
    37 KB (5,217 words) - 02:13, 12 April 2019
  • * [http://ftp.gnu.org/gnu/emacs/windows/ Emacs], [http://www.vim.org/ Vi(m)], etc ghc -M -dep-suffix . dep-makefile ./<make> MyMain.hs
    12 KB (1,886 words) - 19:30, 3 February 2021
  • loops, barriers, and I- and M- structure storage. The eager evaluation model of pH is similar to programming. Browse [http://www.cse.unsw.edu.au/~chak/ Manuel M T Chakravarty's] page for newer work on parallel extensions to GHC.
    11 KB (1,692 words) - 16:37, 28 January 2023
  • parseExpr :: Monad m => (String, Int, Int) -> String -> m Expr
    12 KB (1,695 words) - 15:27, 12 November 2019
  • ...hat doesn't include assertions e.g. calls to assertM and error (although I'm basing this on observation - I couldn't find any documentation on this). Don't use strip on your executables. I'm guessing hpc stashes information in the executable which strip removes.
    20 KB (2,607 words) - 17:13, 16 June 2022
  • Prelude> :m + Data.List Finally, just for some bonus fun ... and hold on to your hat 'cause I'm
    19 KB (3,139 words) - 04:08, 22 October 2021
  • libbzip2 (from the Bzip2 package) version 1.0 and GHC 6.4. I'm sure handleToCFile h m =
    15 KB (2,511 words) - 06:03, 1 June 2022
  • ...simply.blogspot.com/ Doug Beardsley] are certainly maintainers, the rest I'm not sure, may be just contributors; ([http://rfrn.org/~shu Shu-yu Guo], [ht So I'm now on 7.0.4 with the latest cabal installed for 7.0.4. Proceeding should w
    14 KB (1,908 words) - 02:23, 6 March 2017
  • If I use <hask>:m + Data.List Control.Monad</hask> then I can demonstrate how fair the remova
    6 KB (855 words) - 12:54, 26 June 2017
  • :Manuel M. T. Chakravarty and Gabriele Keller. In Johan Jeuring and Simon Peyton Jone :Manuel M. T. Chakravarty and Gabriele Keller. In Xavier Leroy, editor, Proceedings o
    14 KB (1,953 words) - 00:54, 5 June 2022
  • ...., v. 19, n. 2-3, to appear. - .pdf, 330K // Conf. version in F. Honsell, M. Miculan, A. Momigliano, eds., Proc. of 2nd ACM SIGPLAN Wksh. on Mechanize :Y. Onoue, Z. Hu, H. Iwasaki, M. Takeichi, IFIP TC 2 Working Conference on Algorithmic Languages and Calcul
    19 KB (2,599 words) - 00:14, 15 June 2023
  • code, written well. (And I'm grateful to Larry Wall, Tom Christiansen *Main> :m + Data.List
    13 KB (1,817 words) - 17:53, 20 October 2016
  • Now you may notice that I'm mixing features with implementation choices (eg using Gtk+). To justify thi ...rograming in Haskell. I think I know a little abut GUI design (but maybe I'm just opinionated and igonrant). I used to work on hIDE 1.x. I would be inte
    24 KB (4,039 words) - 04:38, 24 April 2021
  • * So now I'm thinking it's possible and useful to just always use V2. In particular, I c ...the instances. In fact, we could just define type V2 a = R2Basis :>: a. I'm not certain this gets us anything besides some accessors (untrie f XB and u
    10 KB (1,671 words) - 03:59, 16 August 2014
  • ....hs file and recompiling). NFF doesn't define a specific intensity, and I'm not sure what sort of falloff (if any) Eric Haines used when he rendered th type T = Texture Tag M
    40 KB (6,787 words) - 01:19, 8 April 2014
  • collectM :: Monad m => m (Maybe a) -> m [a]
    15 KB (2,390 words) - 15:19, 6 February 2021
  • ...that Haskell is Lisp's missing [http://en.wikipedia.org/wiki/M-expression M-Expression] implementation. Though that statement embodies a great deal of
    5 KB (799 words) - 16:55, 23 March 2021
  • :Sean Seefried, Manuel M. T. Chakravarty, and Gabriele Keller. In Gabor Karsai and Eelco Visser, edi :Derek Dreyer, Robert Harper, Manuel M.T. Chakravarty and Gabriele Keller, 2006
    26 KB (3,569 words) - 10:04, 1 September 2022
  • class (Show s, Monad m s) => Stream m s where sClose :: s -> m ()
    30 KB (4,685 words) - 01:34, 14 July 2021
  • # Please add yourself! (decimal or d/m/s notation are ok) ...30 -mag 10 -label -font "-*-lucidatypewriter-medium-r-normal-*-*-100-75-75-m-*-iso8859-1"</nowiki></pre>
    11 KB (1,031 words) - 06:16, 8 June 2023
  • * I'm writing Hacanon - a framework for automatic generation of C++ bindings. Rea ...d the project page here]] -- [mailto:mads_lindstroem@yahoo.dk Mads Lindstrøm]
    30 KB (4,551 words) - 00:29, 15 June 2023
  • lookup k (GMapInt m) = Data.IntMap.lookup k m insert k v (GMapInt m) = GMapInt (Data.IntMap.insert k v m)
    42 KB (6,828 words) - 17:15, 4 February 2023
  • ensure :: MonadPlus m => (a -> Bool) -> a -> m a
    12 KB (1,704 words) - 17:53, 22 November 2019
  • ...ould be simply replaced by a function. Maybe there is some subtlety that I'm not able to see right now." There is no longer confusion with the interfere
    6 KB (937 words) - 05:34, 10 December 2020
  • ## NOMATCH if the matching should fail ## "(n,m)(..)" if the match succeeds ##* The length of the substring is (m-n)
    26 KB (3,619 words) - 03:30, 10 March 2017
  • ...01 [https://kevinmahoney.co.uk/articles/haskell-io/ Haskell IO Without the M-word] - Kevin Mahoney
    8 KB (1,101 words) - 10:59, 2 May 2024
  • ...l/lambda-ccc/ lambda-ccc] - a project for compiling Haskell to hardware. I'm doing this work for my day job, but the development is open, and the result
    6 KB (923 words) - 17:52, 13 June 2014
  • import qualified Data.Map as M { leftClickCA = "/usr/bin/xdotool key super+m"
    45 KB (4,625 words) - 00:21, 27 October 2013
  • == I'm making an RPG. Should I define a type for each kind of monster, and a type * With <hask>import Foo as M</hask> you'd write <hask>M.x</hask> instead of <hask>Foo.x</hask>.
    36 KB (5,814 words) - 22:06, 10 May 2024
  • ...page you linked says that HGL is 'currently broken on Win32'. Hmm... OK, I'm confused now. Then there's HOpenGL. (Is that the same thing as Graphics.Ren
    6 KB (915 words) - 06:17, 23 July 2020
  • ghci> :m +Data.Array.Repa ghci> :m + Data.Array.Repa
    37 KB (5,672 words) - 07:28, 10 August 2022
  • ...ginner, I don't mind reading outdated content. When I see a code snippet I'm going to copy paste it int ghci. If it doesn't work may be challenged and m I'm a beginner and I fear reading about outdated content. This means that you f
    18 KB (3,049 words) - 10:29, 7 February 2021
  • ...M what is cruft and what not, it is not an option, but it works for me™. I'm using urxvt as a terminal and the mailer you can see there is [http://www.g :1. move window around using M-Arrows.
    29 KB (4,125 words) - 12:46, 15 January 2021
  • '''I'm not using GHC 8.2, is there anything to see here?''' Implementation package
    10 KB (1,679 words) - 23:28, 2 April 2017
  • necesario). Los lenguajes populares más parecidos son la familia ML (que no son, El compilador de Haskell más común es [[GHC]]. Puede descargarlo de
    14 KB (2,164 words) - 16:35, 9 October 2016
  • ...Architecture Aware Parallel Programming in Glasgow Parallel Haskell (GPH)] M. KH. Aswad, P. W. Trinder, H. W. Loidl, Tech. Rep. 0086, Heriot-Watt Univ
    6 KB (959 words) - 08:48, 10 August 2022
  • ...tmouth.edu/~doug/nfa.ps.gz Enumerating the strings of regular languages] - M. Douglas McIlroy. ...//www.cs.dartmouth.edu/~doug/pearl.ps.gz Power series and power serious] - M. Douglas McIlroy.
    20 KB (2,961 words) - 16:50, 6 February 2024
  • where msg = "I'm quite sure foo maps non-empty lists to " ++
    8 KB (1,274 words) - 20:23, 18 July 2014
  • newtype NondetT m a = NondetT { foldNondetT :: (forall b. (a -> m b -> m b) -> m b -> m b) }
    67 KB (9,593 words) - 05:40, 9 March 2021
  • [a | i <- [1..m]] replicate m a
    29 KB (4,702 words) - 12:36, 4 May 2021
  • ...l approach] written by [https://maartenfokkinga.github.io/utwente/ Maarten M Fokkinga].
    9 KB (1,379 words) - 04:11, 14 February 2023
  • ...'' is a triple (''M'', ''unit'', ''★'') consisting of a type constructor ''M'' and two operations of the given polymorphic types." *: "So now I can reveal what a monad is. The triple of objects (m,unit,bind) is the monad, and to be a monad they must satisfy a bunch of law
    35 KB (4,953 words) - 00:05, 9 May 2024
  • -- equivalent to GHCi's :m Prelude Control.Monad *Main Prelude> :m + GHC PackageConfig
    18 KB (2,724 words) - 11:05, 17 January 2014
  • So, I thought I'd have a go at a few variations. I'm not convinced it's worked, but there you go. I've shamelessly ripped off ta * Thanks for the comments. I'm going to be offline for about a week, so I'm not going to have a chance to knock up further variations soon, much as I w
    34 KB (5,126 words) - 19:19, 15 August 2019
  • import qualified Data.Map as M main = print (M.empty :: M.Map Int ())
    22 KB (3,350 words) - 04:31, 8 June 2023
  • Prelude> :m + Char ...let comb n m = if m == 0 || m == n then 1 else comb (n-1) m + comb (n-1) (m-1)
    41 KB (6,592 words) - 22:27, 3 May 2024
  • ...make the type of the container polymorphic, so we could write &quot;<code>m a</code>&quot; to represent a container of some type holding a value of som ...can change. It is customary to call the monad type constructor &quot;<code>m</code>&quot; when discussing monads in general. The function that builds va
    169 KB (26,630 words) - 00:15, 19 September 2021
  • Free f >>= g = ... -- I'm confused!
    9 KB (1,711 words) - 20:19, 31 August 2014
  • * a type: <code>M a</code> * an operator <code>unit(M) :: a -> M a</code>
    82 KB (13,140 words) - 09:07, 3 May 2024
  • If you're wondering why I'm not using Haskell syntax, it's to focus on the meaning of boxes rather than To avoid getting caught up in music theory (read: I'm lazy and can't be bothered to look up tone frequencies) the note to play is
    25 KB (4,168 words) - 15:10, 24 October 2017
  • <shapr> I'm addicted to arrows. ...and when someone complains that it doesn't work on their toaster because I'm a moron who can't write portable code, I can say, smiling, "patches welcome
    55 KB (8,884 words) - 01:18, 10 November 2022
  • ...e value <code>x</code> while producing some I/O effects, then <code>fmap g m</code> will compute the value <code>g x</code> while producing the same I/O class Applicative m => Monad m where
    179 KB (29,519 words) - 16:10, 30 December 2022
  • ...s us get the 'a' out. Given a suspended computation M of type 'IO a', 'run M' evaluates it, releasing its effect into the context, and producing the val
    16 KB (2,520 words) - 06:08, 16 October 2016
  • ...hat works using GHC to compile to Core, and then compiling Core to NET. I'm not sure what stage it is at. === If I explicitly set the buffering on a Handle to <tt>NoBuffering</tt> I'm not able to enter EOF by typing "Ctrl-D". ===
    36 KB (5,898 words) - 06:04, 10 August 2022
  • I have an idea for an interesting project, and I'm wondering if I can get some useful input here...
    9 KB (1,391 words) - 15:17, 6 February 2021
  • liftM2 :: (Monad m) => (a1 -> a2 -> r) -> m a1 -> m a2 -> m r liftM2 Dir :: (Monad m) => m Int -> m String -> m Dir
    73 KB (10,050 words) - 00:05, 19 April 2021
  • Prelude> :m + Text.StringTemplate
    12 KB (1,726 words) - 15:16, 6 February 2021
  • m >>= f = either Left f m
    24 KB (3,850 words) - 17:16, 28 June 2021
  • ;[http://danae.uni-muenster.de/~lux/curry/ The M&uuml;nster Curry Compiler]
    12 KB (1,707 words) - 07:27, 10 March 2020
  • M-x erc-select
    11 KB (1,536 words) - 08:17, 29 March 2022
  • I plan to fix a few random GHC bugs and I’m more than happy to guide GHC-newbies in doing the same. Planning and coordi ...n many web application backends to speedup data storage access. However, I'm sure there are more use cases for efficient priority search queues.
    10 KB (1,601 words) - 10:27, 27 October 2014
  • liftM2 :: (Monad m) => (a1 -> a2 -> r) -> m a1 -> m a2 -> m r liftM2 Dir :: (Monad m) => m Int -> m String -> m Dir
    69 KB (11,026 words) - 12:26, 9 January 2023
  • | As Far As I'm Concerned / As Far As I Can
    15 KB (2,061 words) - 22:08, 12 November 2022
  • In this talk, I'm going to introduce "generics-sop", a library that
    13 KB (1,982 words) - 10:32, 8 September 2016
  • import qualified Data.Map as M myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
    11 KB (1,742 words) - 10:28, 28 October 2013
  • I'm planning assignments using Fran and Active Haskell and <b>Instructor:</b> [mailto:M.A.Rodrigues@dcs.hull.ac.uk Marcos A Rodrigues]
    40 KB (6,259 words) - 05:49, 6 June 2020
  • ...a definition for function <hask>foldMap :: Monoid m => (a -> m) -> T a -> m</hask>. Again, <hask>foldMap</hask>'s definition follows directly from a da
    45 KB (6,927 words) - 18:50, 16 November 2020
  • Lastly, as a new PhD student, I'm going to ask audience for feedback, further ideas and collaborators for Has
    15 KB (2,190 words) - 21:19, 17 February 2016
  • ...8 + Heirarchical Modules, I do not wish to change this. Other than that, I'm pretty flexible about most aspects of Hoogle. The [http://code.google.com/p
    18 KB (2,779 words) - 22:27, 12 June 2017
  • ...generate a ton of warnings such as "could not find link destinations for: M.Map"; you can ignore these. The important line is the last one, which says To commit everything, type something like <code>git commit -a -m 'new HelloWorld module'</code> at a prompt. Then push your changes up to y
    16 KB (2,392 words) - 17:44, 2 August 2021
  • [ (otherModMasks ++ "M-" ++ [key], action tag) [((m .|. mod1Mask, k), windows $ f i) -- Replace 'mod1Mask' with your mod key of
    71 KB (10,765 words) - 16:38, 22 August 2021
  • ...ow, and an expression which uses those variables. And of course a ')'. I'm sure you can figure out what this does. It defines a function and uses it ...t once. That happens a lot when you're learning Haskell, and that's why I'm writing such a long tutorial in the first place. '()' is a type. The only
    111 KB (19,450 words) - 17:55, 23 October 2019
  • the regions. The monadic regions are described in the paper by M. Fluet
    20 KB (3,458 words) - 15:19, 6 February 2021
  • :Philip Wadler. In M. Broy, editor, Marktoberdorf Summer School on Program Design Calculi, Sprin
    18 KB (2,331 words) - 09:02, 1 September 2022
  • $ decompose [(86400, "d"), (3600, "h"), (60, "m"), (1, "s")] (floor diff)
    21 KB (3,285 words) - 19:34, 11 April 2024
  • Prelude> :m + Data.LTree
    22 KB (3,268 words) - 04:57, 30 January 2022
  • put my finger on some of the more obvious connections, but I'm pretty sure
    22 KB (3,703 words) - 21:20, 30 May 2021
  • ...u/~chak/papers/CK03.html An Approach to Fast Arrays in Haskell], by Manuel M. T. Chakravarty and Gabriele Keller.
    27 KB (4,333 words) - 06:09, 23 July 2020
  • ...port a function f from another module M, GHC consults the "interface file" M.hi to get f's definition.
    25 KB (3,873 words) - 11:08, 6 March 2023
  • ...Oficială a Grupului Ro/Haskell - următorul mesaj despre tirajul cărţii P.I.M. Puteţi face deja comenzi pe adresa editorului. "Matrix Rom Ltd." [mailto: ...i de la cursurile de Limbaje Formale si Automate, in special cartile prof. M.(de Limbaje Formale si Automate), varianta corectata (cu pixul :) ) ne inte
    21 KB (3,264 words) - 14:36, 18 February 2015
  • ''Va multumesc pentru interesul dumneavoastra domnule profesor M.J. Cod sursa comentat despre interpretoarele monadice modulare gasiti sau v ...rularii lor. Daca se ajunge sa existe incompatibilitati (ca la .doc -urile M$) intre diversele versiuni e bine sa aveti la indemana veriunea sub care an
    18 KB (2,773 words) - 22:31, 29 June 2021
  • ...ttp://web.archive.org/web/20180519035020/www.cse.unsw.edu.au/~chak/ Manuel M. T. Chakravarty] and [http://www.cse.unsw.edu.au/~keller/ Gabriele Keller].
    31 KB (4,662 words) - 08:38, 20 April 2024
  • ...first seems. So when you start thinking things like "This is too weird, I'm going back to C++!", try to force yourself to continue learning Haskell - y
    33 KB (5,616 words) - 22:30, 3 May 2024
  • -M Output Makefile rules recording the
    22 KB (2,918 words) - 04:41, 21 November 2013
  • the dumbest, but that's me), I'm not going into much details about the
    61 KB (8,858 words) - 11:47, 5 November 2020
  • ...s of the BitC Programming Language], Jonathan Shapiro, Swaroop Sridhar and M. Scott Doerrie.</small><!-- 2008 -->
    61 KB (9,234 words) - 04:14, 5 April 2024
  • en distintas titulaciones de la Universidad de Málaga. Aún así, su ...s Type Theory: An Introduction] by Bengt Nordström, Kent Petersson and Jan M. Smith. 1990.
    53 KB (7,703 words) - 13:28, 28 March 2024
  • ...pagina despre lucrări de licență.] Celor interesați de OpenGL le recomandăm noua pagină [[Ro/Haskell/OpenGL]]<br> ...tematică superioară, de teoria categoriilor, a tipurilor, a limbajelor ș.a.m.d.;
    39 KB (6,088 words) - 16:59, 30 September 2021
  • A little disclaimer: I should say that I'm not describing
    64 KB (6,046 words) - 11:23, 22 October 2022