Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
terms types terms terms types types kinds

0xd34df00d 0xd34df00d

💭
terms types terms terms types types kinds
View GitHub Profile
View gist:c34916ec411bd1a58445d3cbd09cd881
2020-02-10 15:06:26.976105106 [ThreadId 4] - run entered for hie-wrapper(hie-wrapper) Version 1.1, Git revision 49c6185efdec715a4b2954efa7887520f7196cc8 (dirty) (3775 commits) x86_64 ghc-8.8.2
2020-02-10 15:06:26.976326494 [ThreadId 4] - Current directory:/home/d34df00d/Programming/hwc
2020-02-10 15:06:26.976419598 [ThreadId 4] - Operating system:linux
2020-02-10 15:06:26.976459722 [ThreadId 4] - args:[]
2020-02-10 15:06:26.977458984 [ThreadId 4] - Cabal-Helper decided to use: ProjLocStackYaml {plStackYaml = "/home/d34df00d/Programming/hwc/stack.yaml"}
Stack has not been tested with GHC versions above 8.6, and using 8.8.2, this may fail
Stack has not been tested with Cabal versions above 2.4, but version 3.0.1.0 was found, this may fail
Stack has not been tested with GHC versions above 8.6, and using 8.8.2, this may fail
Stack has not been tested with Cabal versions above 2.4, but version 3.0.1.0 was found, this may fail
Stack has not been tested with GHC versions above 8.6, and using 8.8.2, this may fail
View lev_dist.cpp
size_t lev_dist(const std::string& s1, const std::string& s2)
{
const auto m = s1.size();
const auto n = s2.size();
std::vector<int64_t> v0;
v0.resize(n + 1);
std::iota(v0.begin(), v0.end(), 0);
auto v1 = v0;
@0xd34df00d
0xd34df00d / Main.hs
Created Nov 4, 2011
NormalizedTextGen
View Main.hs
module Main
where
import System.IO
import System.Environment
import System.Random
import Control.Parallel.Strategies
import Control.Arrow
import Data.List
import Data.Array