Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. package elm-export

    A library to generate Elm types from Haskell source. Generate Elm source code automatically from Haskell types. Using GHC.Generics, we can automatically derive Elm type declarations, and Aeson-compatible JSON decoders & encoders.

  2. package elm2nix

    Turn your Elm project into buildable Nix project Please see the README on Github at https://github.com/domenkozar/elm2nix#readme

  3. package elynx-nexus

    Import and export Nexus files Examine, modify, and simulate molecular sequences in a reproducible way. Please see the README on GitHub at https://github.com/dschrempf/elynx.

  4. package emd

    Empirical Mode Decomposition and Hilbert-Huang Transform Empirical Mode decomposition and Hilbert-Huang Transform in pure Haskell.

  5. package enum-subset-generate

    Generate an ADT being a subset of another ADT, and the corresponding mappings. Please see the README on GitHub at https://github.com/0xd34df00d/enum-subset-generate#readme

  6. package epub-metadata

    Library for parsing epub document metadata Library for parsing and manipulating epub document metadata. Supports epub versions 2 and 3. This library was constructed by studying the IDPF specifications for epub documents found here http://www.idpf.org/epub/20/spec/OPF_2.0.1_draft.htm and here http://www.idpf.org/epub/30/spec/epub30-publications.html

  7. package errata

    Source code error pretty printing An extremely customizable error pretty printer that can handle many kinds of error formatting. It can handle errors that are connected, disconnected, and those spanning multiple lines. You can get started by importing the Errata module.

  8. package errorcall-eq-instance

    An orphan Eq instance for ErrorCall Prior to base-4.7.0.0 there was no Eq instance for ErrorCall. This package provides an orphan instance.

  9. package errors-ext

    `bracket`-like functions for `ExceptT` over `IO` monad. Please see the README on GitHub at https://github.com/A1-Triard/errors-ext#readme

  10. package ersatz

    A monad for expressing SAT or QSAT problems using observable sharing. A monad for expressing SAT or QSAT problems using observable sharing. For example, we can express a full-adder with:

    full_adder :: Bit -> Bit -> Bit -> (Bit, Bit)
    full_adder a b cin = (s2, c1 || c2)
    where (s1,c1) = half_adder a b
    (s2,c2) = half_adder s1 cin
    
    half_adder :: Bit -> Bit -> (Bit, Bit)
    half_adder a b = (a `xor` b, a && b)
    
    Longer Examples Included are a couple of examples included with the distribution. Neither are as fast as a dedicated solver for their respective domains, but they showcase how you can solve real world problems involving 10s or 100s of thousands of variables and constraints with ersatz.
    ersatz-sudoku
    
    % time ersatz-sudoku
    Problem:
    ┌───────┬───────┬───────┐
    │ 5 3   │   7   │       │
    │ 6     │ 1 9 5 │       │
    │   9 8 │       │   6   │
    ├───────┼───────┼───────┤
    │ 8     │   6   │     3 │
    │ 4     │ 8   3 │     1 │
    │ 7     │   2   │     6 │
    ├───────┼───────┼───────┤
    │   6   │       │ 2 8   │
    │       │ 4 1 9 │     5 │
    │       │   8   │   7 9 │
    └───────┴───────┴───────┘
    Solution:
    ┌───────┬───────┬───────┐
    │ 5 3 4 │ 6 7 8 │ 9 1 2 │
    │ 6 7 2 │ 1 9 5 │ 3 4 8 │
    │ 1 9 8 │ 3 4 2 │ 5 6 7 │
    ├───────┼───────┼───────┤
    │ 8 5 9 │ 7 6 1 │ 4 2 3 │
    │ 4 2 6 │ 8 5 3 │ 7 9 1 │
    │ 7 1 3 │ 9 2 4 │ 8 5 6 │
    ├───────┼───────┼───────┤
    │ 9 6 1 │ 5 3 7 │ 2 8 4 │
    │ 2 8 7 │ 4 1 9 │ 6 3 5 │
    │ 3 4 5 │ 2 8 6 │ 1 7 9 │
    └───────┴───────┴───────┘
    ersatz-sudoku  1,13s user 0,04s system 99% cpu 1,179 total
    
    ersatz-regexp-grid
    
    This solves the "regular crossword puzzle" (grid.pdf) from the 2013 MIT mystery hunt.
    % time ersatz-regexp-grid
    
    SPOILER
    ersatz-regexp-grid  2,45s user 0,05s system 99% cpu 2,502 total
    

Page 182 of many | Previous | Next