Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
98 lines (84 sloc) 4.75 KB

muesli

A muesli calculator. Prints a recipe and its nutrition value. Brought up because i'm not much into oocalc or smth and hope to write some clever algo to sort the mix out for me.

This project aims to provide one with fullfilling and easy to make food that needs to be chewed considerably to be consumed to trigger the corresponding digestive responses in one's body. There also were ideas about making it less bland for people unused to spice-free food, but i concluded it's quite individual stuff; i found sucralose, apple flavoring, garlic or chili powder doing the job. It consumes about $1 and 15mins per day, excluding the research, for me. I believe in dogfooding, so you can check out the recipe i'm using at the moment by hitting ./muesli.hs l29ah.

The current requirements are optimized for a median male. A female would need to take additional iron, at least. TODO: requirement profiles

Installation:

  • install ghc and cabal
  • cabal update && cabal install ansi-terminal-0.6.3.1 fixed-vector-0.9.0.0

Usage:

To see the nutrient profile and the current recipe, call:

$ ./Muesli.hs default

The result will resemble this: ansi2html'ed snapshot

What does it look like

Raw: raw muesli Cooked: cooked muesli

Sources