LPFP-core

Code for the book Learn Physics with Functional Programming

https://lpfp.io

Version on this page:1.1.1
LTS Haskell 24.24:1.1.5
Stackage Nightly 2025-12-16: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.1@sha256:a3aaa2bac03e50fd2c9837ed45df037c1dfd94c5fe66ebab479932c27cf82606,1280

Module documentation for 1.1.1

  • 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.