// interactive course
Learn Haskell and miso
One concept at a time, alternating between Haskell and miso. Read a little, answer a question, then write code that compiles and runs right here in your browser.
0XP
0 / 24lessons complete
24lessons
Your progress is saved in this browser.
- HaskellValues and typesEvery value has a type, and the compiler checks them for you.0/5 steps
- misoWhat is miso?A model, an update function and a view: that is a Component, and a whole app.0/5 steps
- HaskellFunctionsDefining functions, applying them, and why there are no parentheses.0/5 steps
- misoThe View DSLHTML as Haskell functions: elements, attributes and text.0/4 steps
- HaskellListsThe workhorse data structure: building, combining and transforming lists.0/5 steps
- misoModel, update, viewActions change the model; the view follows. Your first interactive app.0/4 steps
- HaskellPattern matchingTake values apart by their shape, with equations, case and guards.0/5 steps
- misoEventsClicks, typing and more, delivered as actions you define.0/4 steps
- HaskellAlgebraic data typesModel your domain precisely: sums, products and records.0/5 steps
- misoLenses and the Effect monadChange one field of the model with a lens; read it with use.0/4 steps
- HaskellType classesShow, Eq, Ord: shared behaviour across types, with instances you write.0/5 steps
- misoLists in viewsRender a list of things, keyed so the DOM stays in step with the model.0/4 steps
- HaskellRecursion and foldsLoops without loops: functions that call themselves, and folds that capture the pattern.0/5 steps
- misoIO in updateSchedule IO from update with io and io_; the result comes back as an action.0/4 steps
- HaskellHigher-order functionsFunctions that take and return functions: composition, sections and point-free style.0/5 steps
- misoSubscriptionsTimers, keyboard, window events: streams of actions that live as long as the component.0/4 steps
- HaskellMaybe and EitherNo nulls, no exceptions: absence and failure as ordinary values.0/5 steps
- misoComponentsNest components with their own model and update; talk upwards with mail.0/4 steps
- HaskellStrings and MisoStringString is a list of Char; MisoString is the fast text miso renders. Moving between them.0/5 steps
- misoStylingClasses, inline styles and the typed CSS DSL.0/4 steps
- Haskelllet, where and local definitionsName the pieces of a computation where you use them.0/5 steps
- misoForms and inputsText fields, checkboxes, selects and submit, all driven by the model.0/4 steps
- HaskellFunctors and monadsfmap over any container, and do-notation beyond IO.0/5 steps
- misoBuild a todo appEverything together: a record model, lenses, a keyed list, a form and filters.0/4 steps