Haskell » History » Version 48
Grigoriy Volkov, 09/03/2019 05:12 PM
1 | 1 | Grigoriy Volkov | h1. Haskell |
---|---|---|---|
2 | |||
3 | 10 | Alexey Demakov | h2. Изучение |
4 | |||
5 | Денис Москвин. Функциональное программирование на языке Haskell. stepik.org, видеокурс |
||
6 | > "Часть 1.":https://stepik.org/course/75/syllabus |
||
7 | > "Часть 2.":https://stepik.org/course/693/syllabus |
||
8 | |||
9 | "О Haskell по-человечески":https://www.ohaskell.guide |
||
10 | "Learn You a Haskell for Great Good!":http://learnyouahaskell.com |
||
11 | "Real World Haskell by Bryan O'Sullivan, Don Stewart, and John Goerzen":http://book.realworldhaskell.org |
||
12 | |||
13 | "ru.haskell— сообщество русскоговорящих Haskell-разработчиков":https://ruhaskell.org |
||
14 | > "Полезные ссылки":https://ruhaskell.org/links.html |
||
15 | |||
16 | "ru.haskell wiki":https://github.com/ruHaskell/ruhaskell/wiki |
||
17 | > "Настройка редакторов для поддержки Haskell":https://github.com/ruHaskell/ruhaskell/wiki/%D0%9D%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0-%D1%80%D0%B5%D0%B4%D0%B0%D0%BA%D1%82%D0%BE%D1%80%D0%BE%D0%B2-%D0%B4%D0%BB%D1%8F-%D0%BF%D0%BE%D0%B4%D0%B4%D0%B5%D1%80%D0%B6%D0%BA%D0%B8-Haskell |
||
18 | |||
19 | 4 | Grigoriy Volkov | "Haskell Cheatsheet":http://bxt.github.io/Ludus/haskell-cheatsheet/ |
20 | 7 | Grigoriy Volkov | "haskell-trainings":https://github.com/google/haskell-trainings/releases |
21 | 14 | Grigoriy Volkov | "Stack cookbook":https://guide.aelve.com/haskell/stack-cookbook-ai0adh03 |
22 | 42 | Grigoriy Volkov | "The Haskell Phrasebook":https://typeclasses.com/phrasebook |
23 | 4 | Grigoriy Volkov | |
24 | 40 | Alexey Demakov | h2. Best practices |
25 | |||
26 | * "Import modules properly":https://wiki.haskell.org/Import_modules_properly |
||
27 | |||
28 | 5 | Grigoriy Volkov | h2. snippets |
29 | |||
30 | * [[HaskellMaybeChecks]] |
||
31 | * [[HaskellTypeLevelMachine]] |
||
32 | |||
33 | 9 | Grigoriy Volkov | h2. ghci debugging |
34 | |||
35 | <pre> |
||
36 | :set -fbreak-on-error -fbreak-on-exception |
||
37 | :trace machineMain |
||
38 | :force _exception |
||
39 | :hist |
||
40 | :back |
||
41 | </pre> |
||
42 | |||
43 | 1 | Grigoriy Volkov | h2. libs |
44 | |||
45 | 16 | Grigoriy Volkov | * "co-log":https://kowainik.github.io/posts/2018-09-25-co-log |
46 | 12 | Grigoriy Volkov | * "named":https://github.com/monadfix/named arguments |
47 | 1 | Grigoriy Volkov | * "refined":http://nikita-volkov.github.io/refined/ — refinement types <pre>type ProperFraction = Refined (And (Not (LessThan 0)) (Not (GreaterThan 1))) Double</pre> |
48 | * "Data.Sequence":http://hackage.haskell.org/package/containers-0.6.0.1/docs/Data-Sequence.html — list with fast append on both sides |
||
49 | * "bound: Making de Bruijn Succ Less":https://hackage.haskell.org/package/bound — convenient combinators for working with "locally-nameless" terms. These can be useful when writing a type checker, evaluator, parser, or pretty printer for terms that contain binders like forall or lambda |
||
50 | 46 | Grigoriy Volkov | * "Workflow":https://github.com/agocorona/Workflow — computations resumable from storage (!) |
51 | 48 | Grigoriy Volkov | * "optics":https://www.well-typed.com/blog/2019/09/announcing-the-optics-library/ new lens |
52 | 44 | Grigoriy Volkov | * SMT: |
53 | ** "concat":https://github.com/conal/concat ("z3cat":https://github.com/jwiegley/z3cat/blob/master/test/Main.hs || "smt example":https://github.com/conal/concat/blob/master/examples/src/ConCat/SMT.hs) — *"Compiling to categories":http://conal.net/papers/compiling-to-categories/* — compiler plugin for translating normal Haskell functions (on standard types) to SMT, etc. |
||
54 | ** "SBV: SMT Based Verification":https://leventerkok.github.io/sbv/ — translates Haskell functions on custom symbolic types |
||
55 | * Testing: |
||
56 | ** "leancheck":https://hackage.haskell.org/package/leancheck enumerative property-based testing core |
||
57 | *** "extrapolate":https://hackage.haskell.org/package/extrapolate generalize counter-examples of properties |
||
58 | *** "speculate":https://hackage.haskell.org/package/speculate discover properties |
||
59 | *** "fitspec":https://hackage.haskell.org/package/fitspec refine properties by mutation |
||
60 | ** "hedgehog":https://github.com/hedgehogqa/haskell-hedgehog property |
||
61 | ** "dejafu":https://github.com/barrucadu/dejafu concurrency |
||
62 | ** "type-spec: type level testing eDSL":https://hackage.haskell.org/package/type-spec |
||
63 | ** "should-not-typecheck":https://github.com/CRogers/should-not-typecheck |
||
64 | 1 | Grigoriy Volkov | * Constraints: |
65 | 34 | Grigoriy Volkov | ** https://github.com/ekmett/constraints |
66 | ** https://github.com/mikeizbicki/ifcxt |
||
67 | ** https://github.com/rampion/constraint-unions |
||
68 | * HKD: |
||
69 | ** https://github.com/jcpetruzza/barbies |
||
70 | ** https://github.com/i-am-tom/higgledy |
||
71 | 1 | Grigoriy Volkov | ** https://hackage.haskell.org/package/rank2classes |
72 | 44 | Grigoriy Volkov | * (Reversible) Parsing: |
73 | ** by Paweł Nowak (Pavel Christof?) @2004 *USED NOW* |
||
74 | 43 | Denis Buzdalov | *** https://hackage.haskell.org/package/syntax |
75 | *** https://hackage.haskell.org/package/syntax-attoparsec |
||
76 | *** https://hackage.haskell.org/package/syntax-printer |
||
77 | *** https://hackage.haskell.org/package/semi-iso |
||
78 | ** Unparse by Tillmann Rendel and Klaus Ostermann @2010 |
||
79 | *** https://www.informatik.uni-marburg.de/~rendel/unparse/ |
||
80 | *** http://hackage.haskell.org/package/invertible-syntax |
||
81 | *** https://hackage.haskell.org/package/partial-isomorphisms |
||
82 | *** https://hackage.haskell.org/package/invertible |
||
83 | 47 | Denis Buzdalov | ** (related) new @optics@ library, alternative to @lens@ |
84 | *** "Announcement":https://www.well-typed.com/blog/2019/09/announcing-the-optics-library/ |
||
85 | *** https://hackage.haskell.org/package/optics |
||
86 | *** https://hackage.haskell.org/package/optics-core |
||
87 | 35 | Grigoriy Volkov | ** https://hackage.haskell.org/package/binary |
88 | 3 | Grigoriy Volkov | |
89 | h2. exts |
||
90 | |||
91 | 16 | Grigoriy Volkov | * "Existential Quantification":https://ocharles.org.uk/guest-posts/2014-12-19-existential-quantification.html |
92 | 3 | Grigoriy Volkov | * "RebindableSyntax":https://ocharles.org.uk/guest-posts/2014-12-06-rebindable-syntax.html — overloading built-in operators / do notation |
93 | * "NullaryTypeClasses":https://ocharles.org.uk/posts/2014-12-10-nullary-type-classes.html — global implementation of one thing |
||
94 | 5 | Grigoriy Volkov | * "DataKinds":http://ponies.io/posts/2014-07-30-typelits.html , TypeFamilies (+ GHC.TypeLits) — type-level annotations |
95 | ** "Basic Type Level Programming in Haskell":https://www.parsonsmatt.org/2017/04/26/basic_type_level_programming_in_haskell.html |
||
96 | ** "Parsing type-level strings in Haskell":https://kcsongor.github.io/symbol-parsing-haskell/ |
||
97 | 11 | Grigoriy Volkov | ** "Servant, Type Families, and Type-level Everything":https://arow.info/blog/posts/2015-07-10-servant-intro.html |
98 | 1 | Grigoriy Volkov | ** "Haskell Type Names as Strings":http://www.mchaver.com/posts/2017-12-12-type-name-to-string.html |
99 | |||
100 | h2. other |
||
101 | |||
102 | * https://github.com/cohomolo-gy/haskell-resources |
||
103 | * "ST Monad":https://medium.com/permutive/having-your-cake-and-eating-it-9f462bf3f908 for imperative algorithms |
||
104 | * "A Rosetta Stone for Haskell Abstractions":http://reduction.io/essays/rosetta-haskell.html Applicative, StateT, Lens |
||
105 | * "Is it possible to place inequality constraints on haskell type variables?":https://stackoverflow.com/questions/6939043/is-it-possible-to-place-inequality-constraints-on-haskell-type-variables |
||
106 | * "Practical uses of the Tardis monad?: 'build a packet ... where the fixed-length lengths and offsets of some variable length data are sent out before the actual data themselves'":https://www.reddit.com/r/haskell/comments/b5g70h/practical_uses_of_the_tardis_monad/ejdogtt/ |
||
107 | * "Comonadic builders":https://chshersh.github.io/posts/2019-03-25-comonadic-builders |
||
108 | 44 | Grigoriy Volkov | * "GHC.Stack":https://hackage.haskell.org/package/base-4.10.0.0/docs/GHC-Stack.html — can get code position for DSL |
109 | * "GHC's Specializer: Much More Than You Wanted to Know":https://reasonablypolymorphic.com/blog/specialization/ |
||
110 | * "Type Classes and Constraints":https://gist.github.com/Icelandjack/5afdaa32f41adf3204ef9025d9da2a70 |
||
111 | * Cont: |
||
112 | ** "Control.Monad.Trans.Cont":https://hackage.haskell.org/package/transformers-0.5.2.0/docs/Control-Monad-Trans-Cont.html |
||
113 | ** "CC-delcont":https://wiki.haskell.org/Library/CC-delcont |
||
114 | ** "Delimited continuations in Haskell":http://okmij.org/ftp/continuations/Haskell-tutorial.pdf |
||
115 | ** "A Monadic Framework for DelimitedContinuations":https://www.cs.indiana.edu/~dyb/pubs/monadicDC.pdf |
||
116 | ** "Haskell's continuation monad":https://github.com/quchen/articles/blob/master/cont_monad.md |
||
117 | * Tagless Final / Overloading: |
||
118 | 33 | Grigoriy Volkov | ** "Introduction to Tagless Final":https://serokell.io/blog/tagless-final |
119 | 1 | Grigoriy Volkov | ** "Tagless Final Encoding in Haskell":https://jproyo.github.io/posts/2019-03-17-tagless-final-haskell.html |
120 | ** "Typed final (aka, ``tagless-final'') style":http://okmij.org/ftp/tagless-final/ is a general method of embedding domain-specific languages (DSL) |
||
121 | 44 | Grigoriy Volkov | ** "Overloading lambda":http://conal.net/blog/posts/overloading-lambda |
122 | 27 | Grigoriy Volkov | * TypeFamilies: |
123 | 45 | Grigoriy Volkov | ** "Functional Dependencies & Type Families":https://gvolpe.github.io/blog/functional-dependencies-and-type-families/ |
124 | 27 | Grigoriy Volkov | ** "Associated Types and Haskell":http://amixtureofmusings.com/2016/05/19/associated-types-and-haskell/ |
125 | 33 | Grigoriy Volkov | ** "Partially applied type families GHC Proposal":https://github.com/ghc-proposals/ghc-proposals/pull/52 |
126 | 29 | Grigoriy Volkov | ** "On the arity of type families":https://ryanglscott.github.io/2019/05/26/on-the-arity-of-type-families/ + "Higher-order Type-level Programming in Haskell":https://www.microsoft.com/en-us/research/uploads/prod/2019/03/ho-haskell-5c8bb4918a4de.pdf |
127 | 30 | Grigoriy Volkov | ** "Type Class Instances for Type-Level Lambdas in Haskell":ftp://ftp-sop.inria.fr/indes/TFP15/TFP2015_submission_19.pdf |
128 | 33 | Grigoriy Volkov | ** "Defunctionalization for Haskell Type Families":https://free.cofree.io/2019/01/08/defunctionalization/ |
129 | ** "Haskell with only one type family":https://blog.poisson.chat/posts/2018-08-06-one-type-family.html |
||
130 | 34 | Grigoriy Volkov | * HKD: |
131 | ** "Functor Functors":http://web.archive.org/web/20190501095522/https://www.benjamin.pizza/posts/2017-12-15-functor-functors.html |
||
132 | ** "Higher-Kinded Data":https://reasonablypolymorphic.com/blog/higher-kinded-data/ |
||
133 | 1 | Grigoriy Volkov | ** "Deriving instances for higher-kinded data":https://stackoverflow.com/questions/49618667/deriving-instances-for-higher-kinded-data |