I hereby claim:
- I am fungushumungus on github.
- I am oogle (https://keybase.io/oogle) on keybase.
- I have a public key ASAd3GQj-Avl2tdSJixNrzFG3vuyDNHq_iSw8sJKG23eyAo
To claim this, I am signing this object:
| <ShowPlanXML xmlns="http://schemas.microsoft.com/sqlserver/2004/07/showplan" Version="1.1" Build="10.50.1600.1"> | |
| <BatchSequence> | |
| <Batch> | |
| <Statements> | |
| <StmtSimple StatementText=" SELECT [Param].[ParamValue] AS [BillableEntityID], [BillableEntity].[RootFolder], [BillableEntity].[ClientCode], [Person].[PersonID],
 [Person].[LegalName], [Person].[Titles], [Person].[GivenNames], [Person].[FamilyName], [Person].[Initials], [Person].[Qualifications], 
 [Activity].[ActivityID],
 [BillableEntity].[DocumentManagerCode],

 [Person].[NINumber],
 [Person].[Awards] AS [RecipientAwards],

 [PracticePerson].[Formal] AS [FormalSalutation], [PracticePerson].[Informal] AS [InformalSalutation], [PracticePerson].[Personal] AS [PersonalSalutation],
 [PracticePerson].[Envelope] AS [EnvelopeSalutation], [Activity].[ActivityName], [PostalContact].[AddressLine1], [PostalContact].[AddressLine2],
 [PostalContact].[Addres |
| (defun mkStr (&rest args) | |
| (with-output-to-string (s) | |
| (dolist (a args) (princ a s)))) | |
| (defclass Out () | |
| ((output :accessor output | |
| :initarg :output) | |
| (result :accessor result | |
| :initarg :result))) |
| module Main where | |
| import System.Random | |
| import Data.Char | |
| names :: [[Char]] | |
| names = ["Onk", "Ponk", "Erk", "Wonk", "Plark", "Pan", "Ork", | |
| "Plerk", "Sha", "Noc", "Toc", "Wop", "Pap", "Shn", "Agh", | |
| "Pert", "Munk", "Shton", "a", "e", "i", "o", "u", "Gert", "Onx", | |
| "Ink", "Mank"] |
| (defun group-by (fn coll &key groupfn keyname valuename) | |
| "Groups the collection by the results of calling fn on each element. | |
| The results of calling groupfn on the elements are grouped together. | |
| Returned is a property list of the keyname to valuename properties." | |
| (labels ((get-item (item) | |
| (if groupfn | |
| (funcall groupfn item) | |
| item)) |
I hereby claim:
To claim this, I am signing this object:
| {-# LANGUAGE OverloadedStrings #-} | |
| module Lib | |
| ( someFunc | |
| ) where | |
| import System.IO | |
| import Data.Char | |
| import Data.Text (Text) | |
| import qualified Data.Text as T |
| -- | Code for calculating the levenstein distance between two strings | |
| module Data.Levenstein (distance) where | |
| import Prelude | |
| import Data.Array as Array | |
| import Data.Array ((!!)) | |
| import Data.Function.Memoize (memoize2) | |
| import Data.Maybe as Maybe |
| -- | A variable | |
| -- x.y[3].z[2][9] | |
| variableParser :: Parser Var | |
| variableParser = do | |
| pos <- getSourcePos | |
| var <- parseSimpleVar pos <?> "Simple var" | |
| go var | |
| where | |
| {-# OPTIONS_GHC -fplugin=Polysemy.Plugin #-} | |
| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE DeriveGeneric #-} | |
| {-# LANGUAGE TypeOperators #-} | |
| {-# LANGUAGE OverloadedStrings #-} | |
| {-# LANGUAGE TemplateHaskell #-} | |
| -- | |