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
import io.circe._ | |
import io.circe.generic.decoding.DerivedDecoder | |
import io.circe.generic.encoding.DerivedObjectEncoder | |
import io.circe.syntax._ | |
import shapeless._ | |
import io.circe.shapes._ | |
// workaround for scalac bug: | |
// super constructor cannot be passed a self reference unless parameter is declared by-name |
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
class AbsBuilder[+A] { | |
type This[+X] <: AbsBuilder[X] | |
def add: AbsBuilder[A] = this | |
def flatMap[B](f: A => This[B]): AbsBuilder[B] = | |
new AbsBuilder[B] | |
def map[B](f: A => B): AbsBuilder[B] = |
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
import shapeless._ | |
import shapeless.ops.product._ | |
import shapeless.syntax.std.product._ | |
import cats._ | |
import cats.data._ | |
import cats.arrow._ | |
import cats.syntax.applicative._ | |
import cats.syntax.strong._ | |
import cats.syntax.compose._ | |
import cats.syntax.arrow._ |
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
//import scalaz._ | |
//import scalaz.syntax.arrow._ | |
// | |
//def eff[F[_, _]: Arrow, A, B](a: F[A, B])(effFn: F[B, Unit]): F[A, B] = { | |
// val z = Arrow[F].arr(identity[B]) &&& Arrow[F].arr(identity[B]) | |
// | |
// a >>> z >>> effFn.second[B].mapsnd(_._1) | |
//} | |
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
{-# LANGUAGE CPP, OverloadedStrings #-} | |
-- | This module handles building multipart/form-data. Example usage: | |
-- | |
-- > {-# LANGUAGE OverloadedStrings #-} | |
-- > import Network | |
-- > import Network.HTTP.Conduit | |
-- > import Network.HTTP.Conduit.MultipartFormData | |
-- > | |
-- > import Data.Text.Encoding as TE | |
-- > |
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
>>> Unpacking source... | |
>>> Unpacking arx-libertatis-1.0.tar.xz to /var/tmp/portage/games-rpg/arx-libertatis-1.0/work | |
>>> Source unpacked in /var/tmp/portage/games-rpg/arx-libertatis-1.0/work | |
>>> Preparing source in /var/tmp/portage/games-rpg/arx-libertatis-1.0/work/arx-libertatis-1.0 ... | |
>>> Source prepared. | |
>>> Configuring source in /var/tmp/portage/games-rpg/arx-libertatis-1.0/work/arx-libertatis-1.0 ... | |
>>> Working in BUILD_DIR: "/var/tmp/portage/games-rpg/arx-libertatis-1.0/work/arx-libertatis-1.0_build" | |
cmake --no-warn-unused-cli -C /var/tmp/portage/games-rpg/arx-libertatis-1.0/work/arx-libertatis-1.0_build/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DUNITY_BUILD=ON -DBUILD_TOOLS=OFF -DBUILD_CRASHREPORTER=OFF -DGAMESBINDIR=/usr/games/bin -DCMAKE_INSTALL_DATAROOTDIR=/usr/share -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/games-rpg/arx-libertatis-1.0/work/arx-libertatis-1.0_build/gentoo_rules.cmake /var/tmp/portage/games-rpg/arx-libe |
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
--- hslua.cabal 2011-11-06 13:27:04.508004327 +0200 | |
+++ hslua.cabal2 2011-11-06 13:31:33.935004333 +0200 | |
@@ -16,26 +16,12 @@ | |
The package is standalone: full Lua interpreter version 5.1.4 | |
is distributed in this package as well. | |
Category: Scripting | |
-Extra-source-files: src/*.h | |
+Extra-source-files: src/ntrljmp.h | |
Library |
NewerOlder