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
| warning: Nix search path entry '/home/demo/.nix-defexpr/channels' does not exist, ignoring | |
| GHCi, version 8.0.2: http://www.haskell.org/ghc/ :? for help | |
| [1 of 1] Compiling Main ( GTable.hs, interpreted ) | |
| GTable.hs:76:48: error: | |
| • Could not deduce (Selectors a0) arising from a use of ‘selectors’ | |
| from the context: (Generic a, | |
| MonadWidget t m, | |
| Data a, | |
| GSelectors (Rep a), |
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
| { nixpkgsFunc ? import ./nixpkgs | |
| , system ? builtins.currentSystem | |
| , config ? {} | |
| , enableLibraryProfiling ? false | |
| , enableExposeAllUnfoldings ? true | |
| , enableTraceReflexEvents ? false | |
| , useFastWeak ? true | |
| , useReflexOptimizer ? false | |
| , useTextJSString ? true | |
| , iosSdkVersion ? "10.2" |
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
| # default.nix | |
| (import ./reflex-platform {}).project ({ pkgs, ... }: { | |
| overrides = self: super: { | |
| heist = pkgs.haskell.lib.doJailbreak super.heist; | |
| map-syntax = pkgs.haskell.lib.doJailbreak super.map-syntax; | |
| }; | |
| packages = { | |
| common = ./common; |
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: | |
| let | |
| inherit (this) nixpkgs; | |
| inherit (nixpkgs.lib) mapAttrs mapAttrsToList escapeShellArg | |
| optionalString concatStringsSep concatMapStringsSep; | |
| in | |
| # This function simplifies the definition of Haskell projects that | |
| # have multiple packages. It provides shells for incrementally working |
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
| -- design part | |
| {-# LANGUAGE UndecidableInstances #-} | |
| {-# LANGUAGE ScopedTypeVariables #-} | |
| {-# LANGUAGE MultiParamTypeClasses #-} | |
| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE PolyKinds #-} | |
| {-# LANGUAGE FlexibleInstances #-} | |
| {-# LANGUAGE TypeOperators #-} | |
| {-# LANGUAGE TypeApplications #-} | |
| {-# LANGUAGE TypeFamilies #-} |
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
| Ex_RowToList.hs:104:11: error: | |
| * The type [Char] does not contain a field named 'b'. | |
| * In the second argument of `($)', namely | |
| `pairwiseApply functions values' | |
| In a stmt of a 'do' block: print $ pairwiseApply functions values | |
| In the expression: do print $ pairwiseApply functions values | |
| | | |
| 104 | print $ pairwiseApply functions values | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
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
| -- design part | |
| {-# LANGUAGE UndecidableInstances #-} | |
| {-# LANGUAGE ScopedTypeVariables #-} | |
| {-# LANGUAGE MultiParamTypeClasses #-} | |
| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE PolyKinds #-} | |
| {-# LANGUAGE FlexibleInstances #-} | |
| {-# LANGUAGE TypeOperators #-} | |
| {-# LANGUAGE TypeApplications #-} | |
| {-# LANGUAGE TypeFamilies #-} |
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
| -- design part | |
| {-# LANGUAGE UndecidableInstances #-} | |
| {-# LANGUAGE ScopedTypeVariables #-} | |
| {-# LANGUAGE MultiParamTypeClasses #-} | |
| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE PolyKinds #-} | |
| {-# LANGUAGE FlexibleInstances #-} | |
| {-# LANGUAGE TypeOperators #-} | |
| {-# LANGUAGE TypeApplications #-} | |
| {-# LANGUAGE TypeFamilies #-} |
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
| -- design part | |
| {-# LANGUAGE UndecidableInstances #-} | |
| {-# LANGUAGE ScopedTypeVariables #-} | |
| {-# LANGUAGE MultiParamTypeClasses #-} | |
| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE PolyKinds #-} | |
| {-# LANGUAGE FlexibleInstances #-} | |
| {-# LANGUAGE TypeOperators #-} | |
| {-# LANGUAGE TypeApplications #-} | |
| {-# LANGUAGE TypeFamilies #-} |
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
| { | |
| packageOverrides = super: let self = super.pkgs; in | |
| { | |
| haskellPackages = super.haskellPackages.override { | |
| overrides = self: super: { | |
| project-m36-typed = self.callPackage ~/test/project-m36-typed {}; | |
| generic-lens = self.callPackage ~/example/generic-lens {}; | |
| # QuickCheck = self.haskell.lib.doJailBreak super.QuickCheck {}; | |
| }; | |
| }; |