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 simple-reflect

    Simple reflection of expressions containing variables This package allows simple reflection of expressions containing variables. Reflection here means that a Haskell expression is turned into a string. The primary aim of this package is teaching and understanding; there are no options for manipulating the reflected expressions beyond showing them.

  2. package simple-sendfile

    Cross platform library for the sendfile system call Cross platform library for the sendfile system call. This library tries to call minimum system calls which are the bottleneck of web servers.

  3. package simple-templates

    A basic template language for the Simple web framework A basic template language for the Simple web framework. The language supports variable substitution, function invokation, loops and conditionals. Web.Simple.Templates documents how to integrate into an app, while Web.Simple.Templates.Language documents the templating language syntax and semantics.

  4. package singleraeh

    raehik's singletons Please see README.md.

  5. package smtlib-backends-process

    An SMT-LIB backend running solvers as external processes. This library implements an SMT-LIB backend (in the sense of the smtlib-backends package) which runs solvers as external processes.

  6. package snappy

    Fast Haskell bindings to Google’s Snappy compression library. This library provides fast, pure Haskell bindings to Google’s Snappy compression and decompression library: http://github.com/google/snappy/.

  7. package socket

    An extensible socket library. This library is a minimal cross-platform interface for BSD style networking.

  8. package soxlib

    Write, read, convert audio signals using libsox This is an FFI binding to libsox of the Sox (Sound Exchanger) project http://sox.sourceforge.net/. It lets write, read and convert audio signals in various formats, resolutions, and numbers of channels. The package sox has similar functionality but calls the sox shell command.

  9. package special-values

    Typeclass providing special values Special values are provided by a SpecialValues typeclass. Those can be used for example by QuickCheck, see quickcheck-special.

  10. package speedy-slice

    Speedy slice sampling. Speedy slice sampling. This implementation of the slice sampling algorithm uses lens as a means to operate over generic indexed traversable functors, so you can expect it to work if your target function takes a list, vector, map, sequence, etc. as its argument. Additionally you can sample over anything that's an instance of both Num and Variate, which is useful in the case of discrete parameters. Exports a mcmc function that prints a trace to stdout, a chain function for collecting results in memory, and a slice transition operator that can be used more generally.

    import Numeric.MCMC.Slice
    import Data.Sequence (Seq, index, fromList)
    
    bnn :: Seq Double -> Double
    bnn xs = -0.5 * (x0 ^ 2 * x1 ^ 2 + x0 ^ 2 + x1 ^ 2 - 8 * x0 - 8 * x1) where
    x0 = index xs 0
    x1 = index xs 1
    
    main :: IO ()
    main = withSystemRandom . asGenIO $ mcmc 10000 1 (fromList [0, 0]) bnn
    

Page 141 of many | Previous | Next