Engineering Problem Solving in Haskell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
0000-p17-table-1-1
0010-p24-chapter1_1
0020-p45-practice
0030-p68-chapter2_1
0040-p70-theta_rad
0050-p72-degrees-radians
0060-p78-chapter2_2
0070-p79-limits
0080-p104-case
0090-p107-chapter3_1
0100-p107-chapter3_2
0110-p116-chapter3_4
0120-p123-chapter3_5
0130-p125-chapter3_6
0140-p127-chapter3_7
0150-p129-chapter3_8
0160-p137-chapter3_9
0170-p155-chapter4_2
0180-p166-chapter4_3
0190-p168-chapter4_4
0200-p170-rand_float
0210-p175-chapter4_5
0220-p186-chapter4_6
0230-p189-chapter4_7
0240-p194-chapter4_8
0250-p196-fibonacci
0260-p209-vectors
0270-p211-chapter5_1
0280-p214-chapter5_2
0290-p216-stat_lib
0300-p225-chapter5_3
0310-p229-sorts
0320-p232-matrices
0330-p234-chapter5_4
0340-p242-chapter5_5
0350-p246-transpose
0360-p248-matrix_mult
0370-p260-chapter5_6
0380-p298-chapter6_4
0390-p331-chapter7_7
_data
lib
scratch
test
.gitignore
LICENSE
README.md
Setup.hs
eng-prob.cabal
stack.yaml

README.md

eng-prob by Richard Cook

Programs from Engineering Problem Solving in ANSI C (1st edition) by Delores Etter translated into Haskell

Why do this?

I'm doing it mainly for myself: it's a vehicle for me to remember all the engineering I've forgotten since I graduated from college. As I read through the book, translating the code samples should help me internalize the material. The second reason I'm doing this is to demonstrate that one can do practical things in Haskell.

Clone repository

git clone https://github.com/rcook/eng-prob.git

Set up prerequisites

macOS

brew install cairo pkg-config

Install compiler

stack setup

Build

stack build --fast

Run application

stack exec targetname

Where targetname should be one of the targets listed in the .cabal file.

Run tests

stack test

Licence

Released under MIT License