- Inital release of a subtle theme for Emacs - eltbus
- Intial release of collect-links-mode
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
let namedf ~first:a ~second:b = (a,b);; | |
let f a b = (a,b);; | |
(* | |
val namedf : first:'a -> second:'b -> 'a * 'b = <fun> | |
val f : 'a -> 'b -> 'a * 'b = <fun> | |
*) | |
let partialnamedf = namedf ~first:33;; | |
let partialf = f 33;; | |
(* |
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
#!/bin/sh | |
# I intend this to be a readable/executable script for installing all | |
# the packages discussed in "Haskell Data Analysis Cookbook" by | |
# Nishant Shukla | |
# Use cabal > 1.18 since I use sandboxes for the code here | |
# I use sandboxes because I have found that package conflicts | |
# (mostly because of version number issues) are terribe to deal with | |
# in Haskell. Use a script like the one in |
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
(defun collect-links () | |
(interactive) | |
(save-excursion | |
(goto-char (point-min)) | |
(let ((urls '())) | |
;; Find unique URLs | |
(while (re-search-forward "[a-zA-Z]+://[^\n\s-]+" nil t) | |
(add-to-list 'urls (match-string-no-properties 0))) |