LPFP-core-1.1.1: Code for the book Learn Physics with Functional Programming
Copyright(c) Scott N. Walck 2023
LicenseBSD3 (see LICENSE)
MaintainerScott N. Walck <walck@lvc.edu>
Stabilitystable
Safe HaskellSafe-Inferred
LanguageHaskell2010

LPFPCore.Electricity

Description

Code from chapter 21 of the book Learn Physics with Functional Programming

Documentation

type Charge = R Source #

oneProtonVelocity :: R -> R -> [(R, R)] Source #

tvPairs :: [(R, R)] Source #

oneProtonPosition :: R -> R -> [(R, R)] Source #