Search results

Jump to navigation Jump to search
  • ...s <hask>a</hask> and <hask>b</hask> into a function between pairs of these types. ...ines to containers into a single one and <hask>zeroL</hask>, which gives a standard container for ().
    7 KB (1,164 words) - 13:33, 22 May 2024
  • ...s of records are structs in c. In Haskell, we can currently declare record types as follows: A type-level record, i.e. the mapping of labels to types, such as <hask> {x = Int, y = Bool, z = String } </hask>, is called a '''ro
    25 KB (4,073 words) - 08:53, 9 December 2013
  • creating values of the same types as the literal XML syntax, though ...alized. Most of the packages can be configured, built and installed in the standard way.
    4 KB (597 words) - 10:39, 19 April 2021
  • ...defines variants of most list operations from the Haskell Prelude and the standard <hask>List</hask> library (e.g., we have <hask>lengthP</hask>, <hask>sumP</ ...l arrays also come with some aggregate operations that are absent from the standard list library, such as <hask>permuteP</hask>.
    21 KB (3,158 words) - 08:39, 10 August 2022
  • === Calling standard library functions === import Foreign.C -- get the C types
    7 KB (1,181 words) - 21:12, 30 August 2014
  • ...creating interfaces with enhanced static information, much like dependent types. ...h a type class. Standalone definitions are more general, while associated types can more clearly express how a type is used and lead to better error messag
    42 KB (6,828 words) - 17:15, 4 February 2023
  • * Some refactorings require types, which are retrieved using hint. ...need a parser that is maintained and up-to-date with the current language standard and extensions.
    4 KB (645 words) - 12:53, 4 August 2014
  • * Changes to the return types of Map and Set functions Each of these has a standard way to solve the problem. Techniques should be attached here.
    11 KB (1,737 words) - 18:00, 13 March 2011
  • ...short tutorial on the state monad. Emphasis is placed on intuition. The types have been simplified to protect the innocent. Simple example that demonstrates the use of the standard Control.Monad.State monad. It's a simple string parsing algorithm.
    7 KB (1,055 words) - 15:06, 21 December 2018
  • The standard Haskell IO using System.IO and [Char] (or String) is slow and will make ans with standard Prelude functions. I use the prefix <code>SS</code> in
    18 KB (3,044 words) - 03:03, 28 September 2009
  • === Tip: types, functions and values === ...nd/or abused in ''any'' given piece of Haskell code. (A quick look at the Standard Prelude as provided in the Haskell 98 Report should be convincing enough fo
    15 KB (2,547 words) - 21:58, 29 October 2011
  • ...poorly documented. It just makes life harder. (I could name any number of standard modules right now that have virtually ''no'' documentation beyond function ...fectly possible to write a state monad in plain Haskell. So ''why'' do the standard modules not to this??)
    11 KB (1,716 words) - 06:40, 29 November 2007
  • ...pdf FranTk]. This time around, I've been particularly interested in using standard classes as much as possible, most centrally [http://www.haskell.org/ghc/doc Some of the useful event operations come through standard classes.
    13 KB (2,149 words) - 10:44, 17 July 2011
  • Hoogle is a Haskell API search engine, which allows you to search many standard Haskell libraries by either function name, or by approximate [[type signatu ...name, or to avoid a package with -package. By default Hoogle will search a standard set of packages.
    18 KB (2,779 words) - 22:27, 12 June 2017
  • ...tomicity and Isolation and lets your app be simply a set of functions with types like: ...o convert between those internal haskell types and external protocol event types; e.g. from URL Encoded HTTP requests to SomeInputType and from SomeOutputTy
    33 KB (5,103 words) - 21:57, 15 September 2008
  • | [http://haskell.org/ghc/docs/latest/html/libraries/ Standard libraries] * '''[[Type inference]]''', which deduces types automatically and frees the programmer from writing superfluous type signat
    5 KB (636 words) - 04:07, 14 August 2021
  • ...en Burton illustrates how oracle streams can be repurposed to convey other types of outside information, based on the classic example of [[Burton-style nond ...present when Burton's paper was first published, and now forms part of the standard <code>Prelude</code> for Haskell. Using the [https://downloads.haskell.org/
    6 KB (809 words) - 07:56, 12 June 2023
  • ...spend a minute trying to figure out why you've done that. But if you use a standard function, the reader will either immediately understand what you've done, o If you don't find appropriate functions in the standard library, extract a general function.
    29 KB (4,702 words) - 12:36, 4 May 2021
  • ...ou'd indeed get some finer grained control over what you could do with the standard classes. For instance lens would be able to give real types to affine traversals given Pointed -- one of their few legitimate uses!
    4 KB (765 words) - 04:26, 4 September 2013
  • Note that fresh Lua instances only have access to a dozen standard and results has simple enough types (lua numbers, strings, booleans, lists
    13 KB (2,016 words) - 18:34, 20 August 2017

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