Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. Forall :: Expr Bool -> Prop

    copilot-core Copilot.Core.Spec

    No documentation available.

  2. type Force = Quantity DForce

    dimensional Numeric.Units.Dimensional.Quantities

    No documentation available.

  3. type FormattedTime = ByteString

    easy-logger EasyLogger.Date

    Type aliaes for date format and formatted date.

  4. module Codec.Epub.Format

    Module for pretty-printing epub meta-information Defined here is the Formattable typeclass and instances for the top-level epub data structures. The intention is that consumers use the format function on any of these otherwise disparate types.

  5. class Formattable a

    epub-metadata Codec.Epub.Format

    No documentation available.

  6. module Ersatz.Internal.Formula

    No documentation available.

  7. newtype Formula

    ersatz Ersatz.Internal.Formula

    A conjunction of clauses

  8. Formula :: Seq Clause -> Formula

    ersatz Ersatz.Internal.Formula

    No documentation available.

  9. module Physics.ForceLayout

    A simple, Haskell-native simulator for doing force-directed layout, e.g. of trees or graphs. To use, just create an Ensemble like so:

    import           Control.Lens        ((&), (.~))
    import           Data.Default        (def)
    import qualified Data.Map            as M
    import           Linear.Affine
    import           Linear.V2
    import           Physics.ForceLayout
    
    e :: Ensemble V2 Double
    e = Ensemble [ (edges,    hookeForce 0.05 4)
    , (allPairs, coulombForce 1)
    ]
    particleMap
    where edges       = [(1,2), (2,3), (2,5), (3,5), (3,4), (4,5)]
    allPairs    = [(x,y) | x <- [1..4], y <- [x+1..5]]
    particleMap = M.fromList . zip [1..]
    . map (initParticle . P . uncurry V2)
    $ [ (2.0, 3.1), (6.3, 7.2)
    , (0.3, 4.2), (1.6, -1.1)
    , (4.8, 2.9)
    ]
    
    Then run a simulation using either simulate (to get the list of all intermediate states) or forceLayout (to get only the ending state):
    e' :: Ensemble V2 Double
    e' = forceLayout (def & damping     .~ 0.8
    & energyLimit .~ Just 0.001
    & stepLimit   .~ Nothing
    )
    e
    
    See the diagrams-contrib package (http://github.com/diagrams/diagrams-contrib/) for more examples.

  10. data ForceLayoutOpts n

    force-layout Physics.ForceLayout

    Options for customizing a simulation.

Page 327 of many | Previous | Next