I use kind synonyms
type T = Type
type TT = T -> T
type TTT = T -> TT
type C = Constraint
type TC = T -> C⚠ This post is fairly old. I don't keep it up to date. Be sure to see comments where some people have posted updates
What this will cover
www.website.com to website.comindex.html)| (require 'dash) | |
| (require 's) | |
| (require 'loop) | |
| (require 'icons-in-terminal) | |
| (defun my-char-at-point (&optional p) | |
| "P." | |
| (let ((point (or p (point)))) | |
| (if (< point (point-max)) (buffer-substring-no-properties point (1+ point)) | |
| ""))) |
| module SignupForm exposing (..) | |
| -- This is where our Elm logic lives.`module SignupForm` declares that this is | |
| -- the SignupForm module, which is how other modules will reference this one | |
| -- if they want to import it and reuse its code. | |
| -- Elm’s "import" keyword works similarly to "require" in node.js. | |
| import Html exposing (..) | |
| ;; Get package installation ready | |
| (require 'package) | |
| (setq package-enable-at-startup nil) | |
| (add-to-list 'package-archives | |
| '("melpa" . "https://melpa.org/packages/")) | |
| (package-initialize) | |
| ;; Theme | |
| (add-to-list 'custom-theme-load-path "~/.emacs.d/themes/") | |
| (load-theme 'zenburn t) |
| resolver: ghc-8.0.0.20160111 | |
| setup-info: | |
| ghc: | |
| linux64: | |
| 8.0.0.20160111: | |
| url: "http://downloads.haskell.org/~ghc/8.0.1-rc1/ghc-8.0.0.20160111-x86_64-deb7-linux.tar.xz" | |
| content-length: 111404852 | |
| sha1: 30d39c6ca6994dcafe25595e053035ad23198b52 | |
| macosx: | |
| 8.0.0.20160111: |
| <!DOCTYPE> | |
| <html> | |
| <head> | |
| <title>cytoscape-dagre.js demo</title> | |
| <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1"> | |
| <script src="http://code.jquery.com/jquery-2.0.3.min.js"></script> |
| demographicsAnalysis :: (MonadIO m, H.MonadR m) => Frame User -> m () | |
| demographicsAnalysis fr = do | |
| let demographics = fmap (rcast :: User -> Record '[HaskellExperience | |
| ,RecommendHaskell | |
| ,Occupation]) | |
| (nubbed, counts) = view (runGetter ((,) <$> Getter (_1) <*> Getter _2)) | |
| (unzip | |
| (sortByLens (_1.recommendHaskell) | |
| (sortByLens (_1.haskellExperience) |
This is pretty out of date now... you may want to look elsewhere
Newer guides than mine (mine is a bit dated and has a lot of rough edges):
Have you looked at these?
| #!/usr/bin/env python3 | |
| ''' | |
| Filter to wrap Pandoc's CodeBlocks into minted blocks when using latex. | |
| Pandoc's `fence_code_attributes` can be used to provide: | |
| - the language (first class) | |
| - minted's argumentless options (following classes) | |
| - minted's options with arguments (attributes) | |
| ''' |