Analyse trends using Sparklines!
This file contains hidden or 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 RankNTypes #-} | |
| data Person = Person { _name :: String , _age :: Int } deriving Show | |
| makeLenses 'Person | |
| example :: Person | |
| example = Person "Bob" 55 | |
| pry :: Lens' r x -> Iso' r (x -> r,x) | |
| pry l = iso (\r -> (\x -> set l x r, view l r)) (uncurry ($)) |
This file contains hidden or 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
| jshell> /set editor gvim | |
| jshell> /help | |
| | Type a Java language expression, statement, or declaration. | |
| | Or type one of the following commands: | |
| | /list [<name or id>|-all|-start] | |
| | list the source you have typed | |
| | /edit <name or id> | |
| | edit a source entry | |
| | /drop <name or id> |
This file contains hidden or 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
| import java.util.ArrayList; | |
| import java.util.List; | |
| public class Main { | |
| public static void main(String[] args) { | |
| List<OutAndIn<?>> boo = new ArrayList<>(); | |
| boo.add(new OutAndIn<String>("ffoo")); | |
| boo.add(new OutAndIn<Integer>(34)); |
This file contains hidden or 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
| ; https://autohotkey.com/docs/misc/Remap.htm | |
| Capslock::Ctrl |
This file contains hidden or 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 GADTs, Rank2Types, KindSignatures, ScopedTypeVariables, TypeOperators, DataKinds, PolyKinds, MultiParamTypeClasses, FlexibleInstances, TypeFamilies, DoRec, ExtendedDefaultRules #-} | |
| import Control.Applicative | |
| import Control.Category | |
| import Control.Comonad | |
| import Control.Monad.Fix | |
| import Control.Monad (ap) | |
| import Data.Functor.Identity | |
| import Data.Typeable | |
| import Data.Monoid | |
| import Data.Unique |
This file contains hidden or 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
| package danisoft.posts; | |
| import java.io.File; | |
| import java.io.FileReader; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Managed.manage(() -> fileReader(new File("/tmp/dummyFileA"))) | |
| .flatMap(r1 -> Managed.manage(() -> fileReader(new File("/tmp/dummyFileB"))) |
Understanding the French Language and Using IPA
https://fr.wiktionary.org/wiki/Annexe:Prononciation/fran%C3%A7ais https://fr.wiktionary.org/wiki/Annexe:Conjugaison_en_fran%C3%A7ais/ouvrir https://fr.wiktionary.org/wiki/Annexe:Conjugaison_en_fran%C3%A7ais/aimer https://fr.wiktionary.org/wiki/Annexe:Conjugaison_en_fran%C3%A7ais/%C3%AAtre
Lexique.org has the resource you're looking for. The transcription keys used are given here.
This file contains hidden or 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, TypeFamilies, | |
| GeneralizedNewtypeDeriving, DeriveGeneric, | |
| ConstraintKinds, FunctionalDependencies, UndecidableSuperClasses, RankNTypes, TypeApplications, ScopedTypeVariables, | |
| DefaultSignatures, FlexibleInstances #-} | |
| module Main where | |
| import Data.Proxy | |
| import Control.Monad.IO.Class | |
| import Control.Monad.State.Strict |