LPFP-core

Code for the book Learn Physics with Functional Programming

https://lpfp.io

LTS Haskell 24.28:1.1.5
Stackage Nightly 2026-01-18:1.1.5
Latest on Hackage:1.1.5

See all snapshots LPFP-core appears in

BSD-3-Clause licensed by Scott N. Walck
Maintained by [email protected]
This version can be pinned in stack with:LPFP-core-1.1.5@sha256:de8eaa8535b48375f7536d2ea9f5da2ecf5f3e6e0c4e9de318663e1582a1a47e,1280

Module documentation for 1.1.5

  • LPFPCore
    • LPFPCore.Charge
    • LPFPCore.CoordinateSystems
    • LPFPCore.Current
    • LPFPCore.ElectricField
    • LPFPCore.Electricity
    • LPFPCore.Geometry
    • LPFPCore.Integrals
    • LPFPCore.Lorentz
    • LPFPCore.MOExamples
    • LPFPCore.MagneticField
    • LPFPCore.Maxwell
    • LPFPCore.Mechanics1D
    • LPFPCore.Mechanics3D
    • LPFPCore.MultipleObjects
    • LPFPCore.Newton2
    • LPFPCore.SimpleVec
Depends on 2 packages(full list with versions):

Haskell code to help the user learn mechanics of one particle, mechanics of multiple interacting particles, and electromagnetic theory. LPFP-core elides all of the graphics dependencies of LPFP, so it has a much better chance of building without problems.