Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
Speedy traversal through parameter space. Gradient-based traversal through parameter space. This implementation of HMC 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. If you don't want to calculate your gradients by hand you can use the handy ad library for automatic differentiation. Exports a mcmc function that prints a trace to stdout, a chain function for collecting results in memory, and a hamiltonian transition operator that can be used more generally.
import Numeric.AD (grad) import Numeric.MCMC.Hamiltonian target :: RealFloat a => [a] -> a target [x0, x1] = negate ((x0 + 2 * x1 - 7) ^ 2 + (2 * x0 + x1 - 5) ^ 2) gTarget :: [Double] -> [Double] gTarget = grad target booth :: Target [Double] booth = Target target (Just gTarget) main :: IO () main = withSystemRandom . asGenIO $ mcmc 10000 0.05 20 [0, 0] booth
-
Heaps in Haskell A flexible Haskell implementation of minimum, maximum, minimum-priority, maximum-priority and custom-ordered heaps.
-
Hedgehog will eat your typeclass bugs This library provides Hedgehog properties to ensure that typeclass instances adhere to the set of laws that they are supposed to. There are other libraries that do similar things, such as `genvalidity-hspec` and checkers. This library differs from other solutions by not introducing any new typeclasses that the user needs to learn, and otherwise minimal API overhead. This library is directly inspired by `quickcheck-classes`.
-
higher-order algebraic effects done right This is the core package for heftia-effects. Heftia is an extensible effects library that generalizes "Algebraic Effects and Handlers" to higher-order effects, providing users with maximum flexibility and delivering standard and reasonable speed. In its generalization, the focus is on ensuring predictable results based on simple, consistent semantics, while preserving soundness. Please refer to the Haddock documentation for usage and semantics. For information on performance, please refer to performance.md. This library is inspired by the paper:
- Casper Bach Poulsen and Cas van der Rest. 2023. Hefty Algebras: Modular Elaboration of Higher-Order Algebraic Effects. Proc. ACM Program. Lang. 7, POPL, Article 62 (January 2023), 31 pages. https://doi.org/10.1145/3571255
-
Here docs & interpolated strings via quasiquotation Here docs & interpolated strings via quasiquotation
-
A type-safe template engine for working with front end development tools Recent front end development tools and languages are growing fast and have quite a complicated ecosystem. Few front end developers want to be forced use Shakespeare templates. Instead, they would rather use node-friendly engines such that pug, slim, and haml. However, in using these template engines, we lose the compile-time variable interpolation and type checking from Shakespeare. Heterocephalus is intended for use with another feature rich template engine and provides a way to interpolate server side variables into a precompiled template file with forall, if, and case statements.
-
Haskell binding to inotify This library provides a wrapper to the Linux Kernel's inotify feature, allowing applications to subscribe to notifications when a file is accessed or modified.
-
Haskell implementation of a javascript minifier Reduces size of javascript files by stripping out extraneous whitespace and other syntactic elements, without changing the semantics.
-
Low-level bindings to Libsass This package provides (very) low level bindings to LibSass. By default, it uses LibSass compiled as a static library, so if you use this in your project, you have to link your project with C++ runtime (which hLibsass does automatically - links with libstdc++). For documentation visit https://github.com/sass/libsass.
-
GSL Statistics interface Purely functional interface for statistics based on hmatrix and GSL Relieves the burden of alloc/free routines and is otherwise essentially 1:1 Documentation can be found at http://www.gnu.org/software/gsl/manual/ The vector type is Data.Vector.Storable from the vector package.