Search results

Jump to navigation Jump to search
  • math x y = do xy = x*y
    25 KB (918 words) - 06:01, 1 June 2022
  • ...'scale' function. This takes a vector indicating by how much to scale in X,Y and Z directions:
    6 KB (988 words) - 04:52, 26 April 2021
  • add !x y = x + y ...y be printed multiple times, and "finished thunk" may be printed less times than "starting thunk". This can't even be worked around by
    21 KB (3,408 words) - 09:26, 9 September 2014
  • plusInt = FUN(x y -> I i -> case y of {
    15 KB (2,396 words) - 07:19, 10 August 2022
  • ...s specified by a vector, which can be constructed by calling "vec" with x, y, and z arguments. ...this point, we need to decide which direction is up. I usually pick the "Y" axis as pointing up, So, to set up a camera at position <20,3,0> looking a
    40 KB (6,787 words) - 01:19, 8 April 2014
  • *<b>Y:</b>
    11 KB (1,759 words) - 09:41, 10 August 2022
  • let { x = case e of ...; y = case e of ... } in ... let { v = e; x = case v of ...; y = case v of ... } in ...
    36 KB (5,898 words) - 06:04, 10 August 2022
  • y <- twice squareW x -- use the foreign function with our callback z <- twice squareW y
    29 KB (4,766 words) - 05:52, 1 June 2022
  • Ah! QuickCheck caught us out. If the input string contains less than 5 filterable characters, the resulting string will be less than 5
    8 KB (1,186 words) - 20:49, 28 May 2021
  • x <- return y let x = y
    17 KB (2,651 words) - 09:36, 10 August 2022
  • ...xmonad-docs/xmonad-contrib/XMonad-Layout-Reflect.html Reflect] across X or Y axis
    13 KB (1,464 words) - 02:28, 20 October 2014
  • 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
  • , "-y", "0" (dzenBoxStyleL whiteBoxPP $ date $ "%Y^fg(" ++ colorGray ++ ").^fg()%m^fg(" ++ colorGray ++ ").^fg()^fg(" ++ color
    45 KB (4,625 words) - 00:21, 27 October 2013
  • add = x+y my_primop (I64# x) (I64# y) = IO $ \s ->
    33 KB (5,008 words) - 16:46, 20 December 2023
  • ...important in these days of multi-core CPUs. Finally, pure computations are less error-prone and easier to verify, which adds to Haskell's robustness and to c | c == 'y' -> "Now"
    82 KB (13,140 words) - 09:07, 3 May 2024
  • ...e the notation t1 <= t2 for "t1 is more general than t2"; we are using a "less than" symbol for a concept involving the word "more"... Also, it took me a * p.55, Fig. 21: Suppose we had an equality F x y z ~ G a b c, how would it be flattened? It seems we need to flatten away t
    9 KB (1,527 words) - 09:11, 10 August 2022
  • ...nk that availability of an ugly solution (e.g. unsafePerformIO, or maybe a less unsafe construct) is required, but that it is not really required to be ele if <hask>do { x <- u; y <- v; w } === do { y <- v; x <- u; w } </hask> for all actions <hask>v</hask> and <hask>w</hask>
    29 KB (4,624 words) - 05:37, 1 January 2022
  • * Interchange:<br /><haskell>u <*> pure y = pure (\f -> f y) <*> u</haskell>Intuitively, this says that when evaluating the application ...lar we consider <code>(x,()) ≅ x ≅ ((),x)</code> and <code>((x,y),z) ≅ (x,(y,z))</code>.}}
    179 KB (29,519 words) - 16:10, 30 December 2022
  • map3 f (x:xs) (y:ys) (z:zs) = f x y z : map3 f xs ys zs ...ion <hask>apply</hask> used to generate <hask>map3</hask>'s body <hask>f x y z : map3 f xs ys zs</hask> shows the use of quotation brackets; it also hig
    45 KB (6,927 words) - 18:50, 16 November 2020
  • ...>,remember?) to <hask>RationalRect</hask>s, which simply store x position, y position, width, and height. Note that floating windows are still stored i
    16 KB (2,690 words) - 16:02, 26 December 2022

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