This file contains 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
// /build.sbt | |
lazy val commonSettings = Seq( | |
name := "GeoQuiz", | |
organization := "com.kerbel", | |
version := "0.1.0", | |
versionCode := Some(1), | |
scalaVersion := "2.11.8", | |
libraryDependencies := commonLibs | |
) |
This file contains 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 App.Layout where | |
import App.Counter as Counter | |
import App.CounterPair as CounterPair | |
import App.NotFound as NotFound | |
import App.Todos as TodoList | |
import App.Routes (Route(..)) | |
import Prelude (($), map) | |
import Network.HTTP.Affjax (AJAX) | |
import Control.Monad.Aff.Console (CONSOLE) |
This file contains 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
{-# LANGUAGE FlexibleInstances #-} | |
{-# LANGUAGE TypeFamilies #-} | |
import Test.QuickCheck | |
import JoinList | |
import Sized | |
-- Safe index, like !! for lists. | |
(!!?) :: [a] -> Int -> Maybe a | |
[] !!? i = Nothing |