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.
-
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.
-
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.
-
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.
-
raehik's singletons Please see README.md.
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.
-
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/.
-
An extensible socket library. This library is a minimal cross-platform interface for BSD style networking.
-
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.
-
Typeclass providing special values Special values are provided by a SpecialValues typeclass. Those can be used for example by QuickCheck, see quickcheck-special.
-
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