This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Prelude | |
import Halogen.Subscription (Emitter) | |
import Run (Run) | |
import Run as Run | |
import Type.Proxy (Proxy(..)) | |
import Type.Row (type (+)) | |
import Unsafe.Coerce (unsafeCoerce) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | This example shows using Halogen Store with Formless, but the form is the only | |
-- | component that interacts with the global state, not the parent. | |
module Main where | |
import Prelude | |
import Data.Newtype (class Newtype, unwrap) | |
import Data.Either (Either(..)) | |
import Data.Int as Int | |
import Data.Maybe (Maybe(..)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | This example shows using Halogen Store with Formless, but the form is the only | |
-- | component that interacts with the global state, not the parent. | |
module Main where | |
import Prelude | |
import Data.Newtype (class Newtype, unwrap) | |
import Data.Either (Either(..)) | |
import Data.Int as Int | |
import Data.Maybe (Maybe(..)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Prelude | |
import Data.Newtype (class Newtype, unwrap) | |
import Data.Either (Either(..)) | |
import Data.Int as Int | |
import Data.Maybe (Maybe(..)) | |
import Effect (Effect) | |
import Effect.Aff.Class (class MonadAff) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.run = () => console.log("hello"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Prelude | |
import Control.Monad.Rec.Class (forever) | |
import Data.Maybe (Maybe(..)) | |
import Data.Identity (Identity(..)) | |
import Data.Symbol (SProxy(..)) | |
import Effect (Effect) | |
import Effect.Aff (Aff, Milliseconds(..)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
pkgs = import (builtins.fetchTarball { | |
url = "https://github.com/NixOS/nixpkgs/archive/20.09.tar.gz"; | |
}) {}; | |
# 2021-03-14 nix-prefetch-git https://github.com/justinwoo/easy-purescript-nix | |
pursPkgs = import (pkgs.fetchFromGitHub { | |
owner = "justinwoo"; | |
repo = "easy-purescript-nix"; | |
rev = "e8a1ffafafcdf2e81adba419693eb35f3ee422f8"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Prelude | |
import Control.Parallel (parTraverse_) | |
import Data.Maybe (Maybe(..)) | |
import Effect (Effect) | |
import Effect.Aff (Aff, Milliseconds(..), delay) | |
import Halogen as H | |
import Halogen.Aff (awaitBody, runHalogenAff) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Prelude | |
import Data.Foldable (for_) | |
import Data.Maybe (Maybe(..)) | |
import Data.Symbol (SProxy(..)) | |
import Effect (Effect) | |
import Effect.AVar as AVar | |
import Effect.Aff (Aff) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services.nginx = { | |
enable = true; | |
recommendedGzipSettings = true; | |
recommendedOptimisation = true; | |
recommendedProxySettings = true; | |
recommendedTlsSettings = true; | |
virtualHosts = { | |
"${domain}" = { |