Search results

Jump to navigation Jump to search

Page title matches

  • 3 KB (553 words) - 12:08, 13 August 2015
  • Generally, since Haskell is a [[Non-strict_semantics|non-strict]] language, you should try to make a fu This is in many cases the best semantics and the most efficient implementation.
    2 KB (342 words) - 09:27, 9 June 2023
  • ...well, apart from the current Haskell standard defining the way IO is done in terms of Monads: [http://donsbot.wordpress.com/2009/01/31/reviving- ...l property of monads - just IO. And even then, we can pretend that Haskell is a purely functional description language for imperative programs. But we di
    6 KB (1,032 words) - 16:45, 2 December 2020
  • 1 KB (177 words) - 22:56, 5 April 2021

Page text matches

  • ...polymorphic if it works for several different types - and thus, a function is ''monomorphic'' if it works only for ''one'' type. As an example, <hask>map</hask> is polymorphic. It's type is simply
    692 bytes (112 words) - 20:01, 21 May 2017
  • Haskell is a programming language with the following features: ! What it is good for
    586 bytes (72 words) - 21:57, 23 April 2021
  • The goal of the blueprint technique is to allow reading a data structure like <hask>Data.Map</hask> while construc The idea is to separate the structure from the contained data.
    346 bytes (51 words) - 15:19, 6 February 2021
  • ''This article is a stub. Please help expand it.'' ...Haskell programs using [[Cabal]], [[Stack]] and other package managers. It is used to specify how [[Haskell Language Server]] and [[ghcide]] set up a [[G
    497 bytes (72 words) - 23:38, 31 July 2023
  • The Yhc runtime is a stack-based spineless G-Machine (See [[Yhc/RTS/Machine]]). This page deta ...e page is at http://www-users.cs.york.ac.uk/~ndm/yhc/bytecodes.html, which is automatially generated from the bytecode.xml file.
    837 bytes (138 words) - 15:19, 6 February 2021
  • In Haskell there is a special syntax for [[partial application]] on [[infix operator]]s. Essent * <hask>(2^)</hask> (left section) is equivalent to <hask>(^) 2</hask>, or more verbosely <hask>\x -> 2 ^ x</hask
    2 KB (233 words) - 17:58, 31 March 2017
  • == What It Is == ...r preview, and options to load and save programming projects. The library is inspired by [http://hackage.haskell.org/package/gloss Gloss], and provides
    2 KB (275 words) - 21:13, 6 April 2018
  • ...e written purely in Haskell using ByteStrings for efficiency. Source code is available from hackage [http://hackage.haskell.org/cgi-bin/hackage-scripts/ ** The length of the block is checked way too often, look at this first.
    674 bytes (102 words) - 04:06, 26 April 2021
  • ...vel up,' endowed with a primitive type, denoted * and called 'type', which is the kind of any (monomorphic) data type." A type with a more complicated kind is the [https://hackage.haskell.org/package/mtl-2.2.1/docs/Control-Monad-State
    2 KB (234 words) - 19:05, 28 September 2017
  • Probabilistic functional programming is a library for discrete random variables in terms of their distribution. A nice aspect of this system is that simulations can be specified independently from their method of execu
    2 KB (271 words) - 22:15, 27 November 2016
  • ...ijkstra/wxHaskell) has moved to https://github.com/wxHaskell/wxHaskell. It is the intent to soon release a maintenance update working with wxWidgets 2.9. ; 26 January 2013: Maintenance is now done on the repository at: https://github.com/atzedijkstra/wxHaskell
    2 KB (259 words) - 21:40, 1 December 2015
  • ...Prolog. In Lisp almost everything is a list, just as in Prolog everything is a term. ...te tree_ltl(T,LTL) which constructs the "lispy token list" LTL if the tree is given as term T in the usual Prolog notation.
    2 KB (276 words) - 03:52, 10 January 2017
  • '''Haddock''' is a tool for automatically generating documentation from annotated Haskell so ...entation of the standard libraries that come with [[GHC]] and [[Hugs]]. It is also supported by [[Cabal]].
    684 bytes (90 words) - 02:54, 28 November 2015
  • A '''type signature''' is a line like that tells, what is the [[type]] of a [[variable]].
    2 KB (317 words) - 10:49, 8 November 2016
  • There is a [http://lurk.org/groups/haskell-art/ hybrid web forum/mailing list] for d The posts about music dominate so far, but this is not intended.
    334 bytes (54 words) - 11:16, 15 May 2014
  • [http://www.csounds.com/ Csound] is a sound design, music synthesis, and signal processing system, providing fa ...to MIDI and OSC devices, creation of JACK-instruments and many more. There is a [https://github.com/anton-k/csound-expression/blob/master/tutorial/Index.
    1 KB (184 words) - 10:13, 16 September 2015
  • A closure, the opposite of a [[combinator]], is a function that makes use of [[free variable]]s in its definition. It 'clo ...iable <hask>x</hask>, which is bound outside of the [[lambda abstraction]] is used inside its definition.
    566 bytes (92 words) - 13:53, 1 January 2017
  • ...sing Data Parallel Haskell during Google Summer of Code 2008. The software is not maintained anymore (see the [https://mail.haskell.org/pipermail/haskell
    580 bytes (82 words) - 15:32, 16 September 2015
  • Lub is an experiment in computing least upper information bounds on (partially def It provides a <hask>lub</hask> function that is consistent with the [[unamb]] operator but has a more liberal precondition.
    1 KB (187 words) - 21:38, 4 February 2014
  • A '''partial function''' is a function that is not defined for all possible arguments of the specified type. Examples in t * <hask>(!!)</hask>: undefined if the index is at least as big as the list length
    1 KB (247 words) - 16:53, 15 November 2014
  • Sometimes I also need two instances where the order of type parameters is different. ...re the first member is mapped and another instance where the second member is mapped.
    2 KB (336 words) - 08:58, 30 November 2016
  • ...shall give arguments why syntactic sugar is useful, give examples where it is useful and show why the arguments against syntactic sugar don't matter.
    322 bytes (47 words) - 03:29, 14 August 2021
  • ...prelude, is concise, but not very readable. Another way to define reverse is: ...asteful than the one in Prelude as it repeatedly reconses the result as it is accumulated. The following variation avoids that, and thus computationally
    1 KB (148 words) - 12:06, 11 August 2017
  • ...ic publications and a reference implementation in python. hackage-security is an effort to implement TUF for hackage/cabal, and has lead to a few improve ...nstall that comes with hackage-security can be used to test this, so there is no need to touch cabal-install.
    2 KB (233 words) - 11:01, 27 May 2015
  • This page is based on my very limited experience of LXDE and XMonad. ...ss. An alternative, which is more useful and takes up less space to boot, is the "Desktop number / Workspace name" panel item.
    835 bytes (122 words) - 19:31, 28 January 2016
  • This is the [http://leksah.org/ Leksah] users' wiki. Leksah is in active development. Version 0.12.0.3 was prereleased 2012/03/11.
    616 bytes (85 words) - 10:45, 21 April 2016
  • $
    '''$''' is an infix operator often seen in Haskell code. It applies the function on it It is also useful in higher-order situations, such as <hask>map ($ 0) xs</hask>,
    1 KB (208 words) - 00:09, 1 October 2016
  • ...tted, the build status may show as "failing" even though the master branch is in fact passing.)
    4 KB (510 words) - 01:42, 10 November 2013
  • == What is it? == ''Tomato-rubato'' is an easy to use library for live audio programming in Haskell. Instant grati
    1 KB (183 words) - 22:25, 4 January 2015
  • ...ymmetric. Hint: Write a predicate mirror/2 first to check whether one tree is the mirror image of another. We are only interested in the structure, not i Even simpler is
    1 KB (179 words) - 13:36, 25 December 2016
  • ...r within an expression is not necessarily an error, if the erroneous value is ignored somewhere, e.g. <hask> False && undefined </hask>. ...ession finally evaluates to bottom or hangs in an infinite loop, then this is definitely a programming error.
    2 KB (296 words) - 15:56, 7 August 2022
  • Although the first version is shorter, there are reasons to prefer the second version for stylistic reaso * It clearly shows that the <hask>f</hask> is not "altered" in the recursion.
    1 KB (226 words) - 23:02, 18 April 2021
  • This is obsolete and unmaintained. The idea is that, from the users POV, every extension exports a function of type <hask>
    1 KB (182 words) - 21:36, 23 April 2021
  • but this is certainly not a good idea. Is there a way to tell the user
    1 KB (209 words) - 14:08, 22 February 2015
  • ;Is the platform portable to Windows? :Yes. Being able to work on windows is a hurdle for inclusion.
    1 KB (214 words) - 15:19, 6 February 2021
  • A recursive function is tail recursive if the final result of the recursive call is the final result of the function itself. If the
    3 KB (581 words) - 14:04, 5 May 2019
  • ...com/group/comp.lang.functional/msg/a5cc6ac1df70e358?hl=en& Haskell Report] is released.</em>. ...g/20a80be2e0c567f0?hl=en& mentions] that a parallel Haskell implementation is already running.
    1 KB (203 words) - 13:27, 11 October 2021
  • Why is there no <hask>Show</hask> instance for functions for showable argument and Why is there a Show instance, but it only prints the type?
    3 KB (430 words) - 00:30, 1 February 2016
  • ...ode and there is no newline before end-of-file, than the last "/end{code}" is omitted. You are advised to consider using the alternative [[Literate progr
    600 bytes (99 words) - 10:10, 7 November 2013
  • ...s are not evaluated when they are bound to variables, but their evaluation is '''deferred''' until their results are needed by other computations. In con ...n_strategy#Call_by_name call-by-name] plus [[Sharing]]. A kind of opposite is [[eager evaluation]].
    2 KB (291 words) - 15:20, 6 February 2021
  • The first is a narrow, technical meaning, namely: A "function with no free variables" is a [[Pure|pure]] lambda-expression that refers only to its arguments, like
    2 KB (256 words) - 22:11, 3 May 2024
  • ...is capable of translating system models to synthesizable VHDL. Moreover it is able to interface with third party EDA tools such as Altera's [http://www.m :Atom is a hardware description language embedded in Haskell. Atom compiles conditi
    2 KB (333 words) - 11:47, 4 November 2014
  • ...today use various extensions. Haskell' is the next official standard, but is conservative and still retains many of the issues people complain about in This page is for discussing what we would like to see in the ideal next standard!
    896 bytes (132 words) - 22:53, 19 April 2021
  • This is a convention for naming identifiers, where the identifier starts with a cap Note that due to Haskell syntax, this would imply the identifier is a [[Type|type]], [[Constructor|constructor]] or [[Class|class]] name.
    421 bytes (63 words) - 18:55, 2 September 2013
  • If the expression is a top-level binding in a module, This is also possible, just type
    2 KB (345 words) - 08:00, 2 May 2018
  • ...re using [[Arrows|arrowized]] functional reactive programming. The concept is heavily based on the Space Invaders example of the Yale Haskell Group, usin ...mation frame), which together make up the whole game state. The game state is put out every cycle (rendering, sound etc.), but also fed back to the new p
    2 KB (278 words) - 10:21, 16 September 2015
  • ...erent conventions, and they may not be correct for a particular use. There is a distinction between characters (<hask>Char</hask>) and bytes (<hask>Word8 ...a type is either a list of bytes, equivalent to <hask>[Word8]</hask> or it is a string, a list of character, <hask>[Char]</hask>.
    2 KB (307 words) - 13:45, 23 May 2021
  • '''This is outdated information'''. The DDC project has moved to [http://discus-lang.o is desugared to:
    2 KB (378 words) - 00:47, 24 February 2018
  • '''Syntactic Sugar''' is the name for special notations for special applications. They don't add fun ...hask> is sugar for <hask>(1:2:3:[])</hask> and <hask>do x <- f; g x</hask> is sugar for <hask>f >>= (\x -> g x)</hask>.
    3 KB (490 words) - 01:44, 27 October 2017
  • Is the opposite of ... yeah guess what? ... the opposite of [[non-strict seman [[Strict semantics]] is used e.g. in [[OCaml]] and [[LISP]].
    363 bytes (53 words) - 15:18, 6 February 2021
  • ...ask>addOne</hask> is the result of partially applying <hask>add</hask>. It is a new function that takes an integer, adds 1 to it and returns that as the ...he <hask>-></hask> operator is right associative, and function application is left associative, meaning the type signature of add actually looks like thi
    1 KB (248 words) - 20:05, 13 May 2020
  • A ''beta reduction'' (also written ''&beta; reduction'') is the process of calculating a result from the application of a function to a is ''reduced'' to the result
    878 bytes (133 words) - 16:57, 6 February 2016
  • ...non-maintainer uploads (NMU) with small bug fixes if a package maintainer is unreachable. ...the quality of the package collection. One of the key ways the can do this is by editing package metadata, particularly to constrain dependencies when pa
    3 KB (413 words) - 16:23, 18 February 2016
  • Planning for BayHac 2020 has been delayed, but is somewhat in progress as of Feb 2020. ...t Dan Burton (danburton DOT email AT gmail DOT com) if interested, but Dan is stepping down as organizer. This page will be updated as the new organizers
    534 bytes (87 words) - 20:52, 4 February 2020
  • A '''thunk''' is a value that is yet to be evaluated. It is used in Haskell systems that implement [[non-strict semantics]] by [[lazy e
    3 KB (450 words) - 20:07, 19 October 2020
  • ...ral, the policy on the usage of the Haskell.org domain name and subdomains is set by the [[Haskell.org committee]]. The committee also manages a small am ...re all good ways to get in touch. Automated uptime and status information is provided at [https://auto-status.haskell.org auto-status.haskell.org].
    1 KB (208 words) - 23:49, 17 May 2018
  • ...ed.ac.uk/teaching/courses/inf1/fp/ Informatics 1 - Functional Programming] is the first programming course taught to students at the [http://www.inf.ed.a For the year 2016, the course lecturer is Don Sannella [http://www.inf.ed.ac.uk/people/staff/Donald_Sannella.html].
    3 KB (537 words) - 01:42, 20 October 2016
  • ...://llvm.org/ LLVM] is an abbreviation of "Low Level Virtual Machine"; LLVM is: It is developed by the University of Illinois.
    2 KB (204 words) - 11:22, 2 October 2020
  • The '''MonadPlus''' class is defined like this: The precise set of rules that MonadPlus should obey is not agreed upon.
    2 KB (240 words) - 22:55, 5 April 2021
  • This page is designed to show some simple examples of using [[monad]]s, specifically usi ...assed <code>Nothing</code> on its left-hand side; or if its left-hand side is a <code>Just …</code> it strips off the <code>Just</code>, and passes the
    1 KB (188 words) - 11:16, 22 October 2022
  • == This page is outdated. Please refer to https://github.com/haskell/core-libraries-committ
    111 bytes (14 words) - 00:28, 23 February 2022
  • == This page is outdated. Please refer to https://github.com/haskell/core-libraries-committ
    127 bytes (17 words) - 00:30, 23 February 2022
  • (That title is supposed to say 'Real World #haskell', but, well, wiki formatting and all.. * Chapter 7. Keeping yourself amused when Lambdabot is down
    841 bytes (119 words) - 00:43, 1 March 2020
  • Using explicit [[type signature]]s is good style and [[GHC]] with option <code>-Wall</code> warns about missing s There are also some cases where the infered signature is too general for your purposes.
    2 KB (267 words) - 15:18, 6 February 2021
  • Since it is floating-point based, it is limited in number sizes, and has accuracy errors that render it unusable ev A naive way to implement <code>logBase</code> accurately for Integral types is:
    1 KB (173 words) - 01:51, 14 July 2021
  • ...r signal processing. A fusion framework is not required, since every arrow is implemented in a canonical form.
    567 bytes (79 words) - 10:47, 12 September 2014
  • An expression is in weak head normal form (WHNF), if it is either: ...n WHNF without further evaluation. Similarly, <code>(+) (2 * 3 * 4)</code> is in WHNF, even though <code>2 * 3 * 4</code> could be reduced to the normal
    2 KB (253 words) - 22:16, 5 April 2021
  • This is an old version of [[Functional programming]]. The cleanest imperative programming language is certainly assembly language.
    2 KB (378 words) - 23:58, 5 April 2021
  • == What is GPipe? == ...l as OpenGl, so if you already know OpenGl, getting up to speed with GPipe is quick!
    3 KB (460 words) - 15:27, 6 January 2016
  • The above tree is represented as: are binary trees: it is just not possible to construct an invalid tree
    1 KB (156 words) - 13:35, 25 December 2016
  • == What It Is == ...r preview, and options to load and save programming projects. The library is inspired by [http://hackage.haskell.org/package/gloss Gloss], and provides
    4 KB (593 words) - 01:45, 27 March 2017
  • ...of mainstream commercial development. And of course, ''The Monad.Reader'' is back again to delight and bedazzle!
    2 KB (239 words) - 22:47, 25 March 2017
  • This is a problem that came up during IRC discussions. We consider a purely functio ...ly functional" we mean a language that has value semantics; that is, there is no function such that after evaluation of the function the value that was r
    1 KB (200 words) - 12:50, 31 May 2022
  • In general, it is harder to reason about time and memory complexity of an implementation than A very simple example is the function <code>reverse . reverse</code> which seems to be an inefficien
    3 KB (422 words) - 21:22, 29 June 2021
  • '''This is outdated information'''. The DDC project has moved to [http://discus-lang.o As the function is polymorphic, we can create boxes of whatever type we would like:
    3 KB (432 words) - 00:47, 24 February 2018
  • ...n gcd' is a straightforward implementation of Euler's algorithm, and myGCD is just a wrapper that makes sure the arguments are positive and in increasing A more concise implementation is:
    777 bytes (117 words) - 19:42, 18 January 2014
  • If wxHaskell is installed, and you have [[Cabal-Install | cabal-install]] Another option is, to download the GeBoP tarball
    1 KB (231 words) - 13:25, 16 March 2018
  • This page is intended to serve as repository for one or more small, community-edited exa This is the one thing that the many excellent wiki and blog pages about space leak
    1 KB (168 words) - 06:46, 4 February 2015
  • This page is for keeping a record of significant changes in git <tt>xmonad</tt> and <tt> ...mbinator was also added; it adds all of the hooks needed to a config. This is now the preferred way to use <code>ManageDocks</code>, as it can be kept up
    2 KB (420 words) - 18:27, 12 December 2017
  • ...is talk, we will provide an update on HERMIT's status, describe how HERMIT is being used in the wild, and discuss lessons learned about working with GHC' HERMIT is being used to optimize SYB traversals, to fuse Stream Fusion's concatMap co
    1 KB (174 words) - 06:36, 16 September 2013
  • Generally, since Haskell is a [[Non-strict_semantics|non-strict]] language, you should try to make a fu This is in many cases the best semantics and the most efficient implementation.
    2 KB (342 words) - 09:27, 9 June 2023
  • '''MinGHC is no longer supported. Please use [[Stack]].''' MinGHC is a minimal installer for GHC and cabal; MinGHC contains a minimum number of
    509 bytes (69 words) - 13:34, 28 August 2019
  • It is possible to write a <hask>Num</hask> instance for functions in Haskell: The usefulness of this instance is debatable, and it is not currently part of [[Language and library specification|the language rep
    1 KB (145 words) - 01:24, 28 December 2014
  • ...me require <code>Traced</code> and some do not. That is, specifically, it is hard to imagine what type we could give to the hypothetical lens <code>alig One potential solution is to make a deeply embedded DSL of alignments (i.e. an algebraic data type re
    2 KB (397 words) - 20:05, 1 June 2015
  • '''This is outdated information'''. The DDC project has moved to [http://discus-lang.o ...e is supposed to indicate that the return value is freshly allocated. This is certainly true if we apply both arguments:
    3 KB (472 words) - 04:20, 8 June 2023
  • then be omitted. It is a type error to omit a required keyword argument. The latter property is in stark contrast with the conventional way of
    636 bytes (94 words) - 15:18, 6 February 2021
  • ...ng for a way to run Haskell on (aka target) the CLR, then the short answer is you can't. Another, not so dead alternative is [[Salsa]]. A common misconception is that:
    2 KB (405 words) - 10:31, 9 February 2019
  • Safe Haskell is a Haskell language extension. It is described in detail: * ''Further technical discussion of Safe Haskell is on the GHC Wiki:'' : https://gitlab.haskell.org/ghc/ghc/wikis/safe-haskell
    3 KB (471 words) - 03:00, 5 August 2021
  • ...elude''' is a module that contains a small set of standard definitions and is included automatically into all Haskell modules. ...f it you can suppress its automatic inclusion in several ways. The problem is also tackled in a [[No import of Prelude|FAQ entry]].
    1 KB (187 words) - 22:09, 28 June 2021
  • ...the most common, especially for non-performance-sensitive applications. It is simply a type synonym for <hask>[Char]</hask>. ...trings which change length when changing case, so <hask>map toLower</hask> is not accurate in that case)
    2 KB (285 words) - 20:38, 2 March 2014
  • It is is what you are after.
    1 KB (233 words) - 23:09, 26 January 2016
  • The Fairbairn threshold is the point at which the effort of looking up or keeping track of the definition is outweighed by the effort of rederiving
    2 KB (321 words) - 14:41, 4 May 2020
  • * Separator: There is a symbol between each element. This is what the functions <hask>Data.List.intersperse</hask> and <hask>Data.List.u * Terminator: There is one symbol after each element.
    3 KB (426 words) - 18:44, 4 October 2021
  • ...is equivalent under eta abstraction to <hask>\ x -> (+) 4 x</hask> which is not a CAF. ...[super combinator]], it contains no [[free variable]]s. Moreover, since it is not a [[lambda abstraction]] it contains no variables at all. It may howeve
    2 KB (255 words) - 06:31, 12 June 2023
  • [http://www.augustsson.net/Darcs/Cayenne/html/ Cayenne] is a programming language influenced by Haskell and constructive type theory. Because it has also [[Dependent type]]s, it can leverage them so that it is not forced to have a separate module language and a core language.
    585 bytes (86 words) - 06:42, 10 August 2022
  • ...t can be interpreted as such or as a command that can be executed. A stack is used to store values and to do calculations. For more information about Arg
    1 KB (186 words) - 15:40, 3 December 2015
  • ...in a rectangular grid. Several layout methods are conceivable, one of them is shown in the illustration below: In this layout strategy, the position of a node v is obtained by the following two rules:
    2 KB (337 words) - 03:41, 10 January 2017
  • == "`foo' is not applied to enough type arguments" == == "`foo' is not a (visible) method of class `Bar'" ==
    2 KB (295 words) - 10:24, 21 October 2022
  • ...to interject here for a moment. The way to read a Signature in that style is similar to reading a multiline summation. e.g'' '' I aggree with the argument, that for beginners it is hard to see what a function returns, but that has to do with currying. A ri
    2 KB (363 words) - 08:15, 23 May 2021
  • definition the height of a node is 1 + max of the heights of its The main feature of the present approach is a blended static and dynamic
    788 bytes (130 words) - 15:19, 6 February 2021

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