Consider this simple .hs file:
module MinHaddockFail where
yo :: String
yo = "yo"
| { | |
| /* Keybindings for emacs emulation. Compiled by Jacob Rus. | |
| * | |
| * This is a pretty good set, especially considering that many emacs bindings | |
| * such as C-o, C-a, C-e, C-k, C-y, C-v, C-f, C-b, C-p, C-n, C-t, and | |
| * perhaps a few more, are already built into the system. | |
| * | |
| * BEWARE: | |
| * This file uses the Option key as a meta key. This has the side-effect | |
| * of overriding Mac OS keybindings for the option key, which generally |
| module Printf | |
| %default total | |
| data Format = FInt Format -- %d | |
| | FString Format -- %s | |
| | FOther Char Format -- [a-zA-Z0-9] | |
| | FEnd -- | |
| format : List Char -> Format |
| {-# LANGUAGE DeriveGeneric, DataKinds, TypeOperators, TypeFamilies, PolyKinds, UndecidableInstances #-} | |
| import GHC.Generics | |
| data Foo | |
| = A Int Bool String | |
| | B | |
| | C Double Int | |
| deriving Generic | |
| type family (l :: [k]) ++ (r :: [k]) :: [k] |
| -- Code taken from http://stackoverflow.com/questions/12735274/breaking-data-set-integrity-without-generalizednewtypederiving/12744568#12744568 | |
| -- Discussion on haskell-cafe: http://thread.gmane.org/gmane.comp.lang.haskell.cafe/100870 | |
| -- http://www.haskell.org/pipermail/haskell-cafe/2012-October/103984.html | |
| -- Modified to remove orphan instances by rwbarton | |
| module A where | |
| data U = X | Y deriving (Eq, Ord, Show) | |
| data T u b c = T u b c deriving (Eq, Show) |
This is a guide on how to email securely.
There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.
| -- Code taken from http://stackoverflow.com/questions/12735274/breaking-data-set-integrity-without-generalizednewtypederiving/12744568#12744568 | |
| -- Discussion on haskell-cafe: http://thread.gmane.org/gmane.comp.lang.haskell.cafe/100870 | |
| -- http://www.haskell.org/pipermail/haskell-cafe/2012-October/103984.html | |
| -- Modified to remove orphan instances by rwbarton | |
| -- Simplified by glaebhoerl | |
| module A (A(..), Set, empty, insert, on) where | |
| import Data.Set | |
| import Data.Function |
| ERLYVIDEO-MIB DEFINITIONS ::= BEGIN | |
| IMPORTS | |
| MODULE-IDENTITY, OBJECT-TYPE, Gauge32, enterprises FROM SNMPv2-SMI | |
| OBJECT-GROUP FROM SNMPv2-CONF | |
| DisplayString FROM SNMPv2-TC; | |
| erlyvideo MODULE-IDENTITY |
| Lyrics: | |
| Take big steps to eval, like a nomad | |
| Bind and return like a Monad | |
| Got you looking so mad | |
| about the signature I got you using | |
| in the directory with the MLI files the compiler was choosing | |
| The type checks out, I’m feeling greater | |
| Defer the value now and I return a little later | |
| Cuz I’m threaded, so for now I ain’t got much to say |