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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<!-- PC-BSD - Fonts configurations v.12012006--> | |
<!-- Antialias any font by default with autohint enabled, hintfull --> | |
<match target="font" > | |
<edit mode="assign" name="antialias" > |
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
{-# OPTIONS_GHC -F -pgmFtrhsx #-} | |
module Main (main) where | |
import Control.Monad | |
import Happstack.Server | |
import qualified Text.Blaze.Html5 as H | |
import Data.String (fromString) |
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 MultiParamTypeClasses, FlexibleInstances, IncoherentInstances #-} | |
class Cout a r where | |
(<<) :: IO String -> a -> IO r | |
instance Cout [Char] [Char] where | |
lm << x = fmap (++ x) lm | |
instance Cout [Char] () where | |
lm << x = lm >>= putStr . (++ x) |
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 AgdaBasics where | |
apply : (A : Set)(B : A → Set) → ((x : A) → B x) → (a : A) → B a | |
apply A B f a = f a | |
_∘_ : {A : Set}{B : A → Set}{C : (x : A) → B x → Set} | |
(f : {x : A}(y : B x) → C x y)(g : (x : A) → B x) | |
(x : A) → C x (g x) | |
(f ∘ g) x = f (g x) |
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 StandaloneDeriving, FlexibleContexts, UndecidableInstances #-} | |
-- Laungh ghci with -fobject-code to make the Fix/Tree trick work (thanks edwardk). | |
-- courtesy of hpc on #haskell | |
import Unsafe.Coerce | |
import Control.Monad.ST | |
toInteger :: Int -> Integer | |
isJust :: Maybe a -> Bool | |
null :: [a] -> Bool |
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
;;; =========================================================================== | |
;;; Francesco's emacs config, <f@mazzo.li> | |
;;; Packages needed: paredit-el, wl-beta, auto-complete-el, haskell-mode, | |
;;; erlang-mode, w3m-el, bbdb, slime, elib, cscope-el | |
;;; Non-debian packages: distel, undo-tree, highlight-parentheses, agda2, | |
;;; sicstus, ghc-mod | |
;;; Additional dirs | |
(add-to-list 'load-path "~/.emacs.d/site-lisp/distel") | |
(add-to-list 'load-path "~/.emacs.d/site-lisp/sicstus") |
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 DefaultSignatures #-} | |
{-# LANGUAGE DeriveGeneric #-} | |
{-# LANGUAGE FlexibleContexts #-} | |
{-# LANGUAGE FlexibleInstances #-} | |
{-# LANGUAGE MultiParamTypeClasses #-} | |
{-# LANGUAGE Rank2Types #-} | |
{-# LANGUAGE ScopedTypeVariables #-} | |
{-# LANGUAGE TypeOperators #-} | |
module Everywhere where |
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 DeriveFoldable #-} | |
{-# LANGUAGE DeriveFunctor #-} | |
{-# LANGUAGE DeriveTraversable #-} | |
{-# LANGUAGE FlexibleContexts #-} | |
{-# LANGUAGE FlexibleInstances #-} | |
{-# LANGUAGE TypeFamilies #-} | |
{-# LANGUAGE GADTs #-} | |
{-# LANGUAGE ScopedTypeVariables #-} | |
module Data.Subst where |
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
;;; circe-color-nicks-f.el --- Color nicks in the channel | |
;; Copyright (C) 2012 Taylan Ulrich Bayırlı/Kammer | |
;; Author: Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> | |
;; This file is part of Circe. | |
;; This program is free software; you can redistribute it and/or | |
;; modify it under the terms of the GNU General Public License |
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
;;; circe-color-nicks-f.el --- Color nicks in the channel | |
;; Copyright (C) 2012 Taylan Ulrich Bayırlı/Kammer | |
;; Author: Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> | |
;; This file is part of Circe. | |
;; This program is free software; you can redistribute it and/or | |
;; modify it under the terms of the GNU General Public License |
OlderNewer