I hereby claim:
- I am jdnavarro on github.
- I am jdnavarro (https://keybase.io/jdnavarro) on keybase.
- I have a public key ASDlwGCGpzI57Mv-bdFmeZsOdTGyE7Y1wvgXnl9mfR-TzQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Install yum
from AUR
$ yaourt -Sy yum
Add bootstrap repos to /etc/yum.d/boot.repo
[fedora]
name=fedora
baseurl=https://archives.fedoraproject.org/pub/fedora/linux/releases/23/Everything/x86_64/os/
enabled=1
for i in $(stack exec ghc-pkg -- list --simple-output); do echo $i $(stack exec ghc-pkg -- field $i extra-libraries) done | grep extra-libraries |
# Maintainer: Alexej Magura <agm2819*gmail*> | |
# | |
# | |
pkgname=libtinfo | |
pkgver=5 | |
pkgrel=7 | |
pkgdesc="symlink to ncurses for use in cuda and other packages" | |
arch=('any') | |
url="http://www.gnu.org/software/ncurses/" | |
license=('unknown') |
#!/bin/sh | |
set -e | |
type grep-aptavail >/dev/null 2>&1 || { | |
echo >&2 "grep-aptavail (dctrl-tools) needs to be installed"; | |
exit 1; | |
} | |
. /etc/os-release | |
echo "-- $PRETTY_NAME" | |
echo "-- Created on $(date)" |
CHANGELOG
This is a personal mental model of how I would classify Haskell main type classes if
semigroupoids
were first-class.
Functor: <$>
<*>
, <.>
pure
, return
join
, =<<
, <=<
<|>
, <!>
zero
, empty
<@>
copure
, extract
cabal_version=1.20.0.3 | |
cabal_directory=Cabal-${cabal_version} | |
cabal_archive=${cabal_directory}.tar.gz | |
curl -O https://www.haskell.org/cabal/release/cabal-${cabal_version}/${cabal_archive} | |
tar xvzf ${cabal_archive} | |
cd ${cabal_directory} | |
ghc --make Setup | |
./Setup configure --prefix /opt/local | |
mkdir tmp |
{-# LANGUAGE LambdaCase #-} | |
module Main where | |
import Control.Category | |
import Data.Traversable | |
import Data.Tree | |
import Control.Comonad | |
import Data.List.NonEmpty | |
trav :: Eq a => (Traversable t, Comonad t) => [a] -> t a -> [a] |