├── static ├── favicon.ico ├── index.html └── index.js ├── .gitignore ├── .travis.yml ├── cabal.project ├── flake.nix ├── Makefile ├── exe └── Main.hs ├── .github └── workflows │ └── main.yml ├── LICENSE ├── assets └── style.css ├── README.md ├── miso-from-html.cabal ├── index.html ├── app └── Main.hs ├── src └── Miso │ └── From │ └── Html.hs └── flake.lock /static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell-miso/miso-from-html/HEAD/static/favicon.ico -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.hi 3 | *.o 4 | tags 5 | dist* 6 | result 7 | cabal.project* 8 | TAGS 9 | dist* 10 | result 11 | public/ 12 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: nix 2 | 3 | before_install: 4 | - nix-channel --list 5 | - nix-channel --update 6 | 7 | script: 8 | - nix-build 9 | -------------------------------------------------------------------------------- /cabal.project: -------------------------------------------------------------------------------- 1 | packages: 2 | . 3 | 4 | allow-newer: 5 | all:base 6 | 7 | source-repository-package 8 | type: git 9 | location: https://github.com/dmjio/miso 10 | tag: 872d1449cb962574274338b1e3cdc8bcf13e9852 11 | 12 | flags: +template-haskell 13 | -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- 1 | { 2 | inputs = { 3 | miso.url = "github:dmjio/miso"; 4 | }; 5 | outputs = inputs: 6 | inputs.miso.inputs.flake-utils.lib.eachDefaultSystem (system: { 7 | devShell = inputs.miso.outputs.devShells.${system}.default; 8 | devShells.wasm = inputs.miso.outputs.devShells.${system}.wasm; 9 | devShells.ghcjs = inputs.miso.outputs.devShells.${system}.ghcjs; 10 | }); 11 | } 12 | -------------------------------------------------------------------------------- /static/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 |