Skip to content

Instantly share code, notes, and snippets.

@lennart
Created November 13, 2014 22:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lennart/8b811cd4f568f7d7100e to your computer and use it in GitHub Desktop.
Save lennart/8b811cd4f568f7d7100e to your computer and use it in GitHub Desktop.
[
{
"caption": "SublimeREPL: Tidal",
"command": "run_existing_window_command", "args":
{
"id": "repl_tidal",
"file": "config/Tidal/Main.sublime-menu"
}
}
]
import Sound.Tidal.Context
d1 <- dirtStream
d2 <- dirtStream
d3 <- dirtStream
d4 <- dirtStream
d5 <- dirtStream
d6 <- dirtStream
d7 <- dirtStream
d8 <- dirtStream
d9 <- dirtStream
(cps, getNow) <- bpsUtils
let bps x = cps (x/2)
let hush = mapM_ ($ silence) [d1,d2,d3,d4,d5,d6,d7,d8,d9]
let solo = (>>) hush
:set prompt "tidal> "
[
{
"id": "tools",
"children":
[{
"caption": "SublimeREPL",
"mnemonic": "r",
"id": "SublimeREPL",
"children":
[
{"command": "repl_open",
"caption": "Tidal",
"id": "repl_tidal",
"mnemonic": "t",
"args": {
"type": "sublime_haskell",
"encoding": "utf8",
"cmd": ["ghci", "-XOverloadedStrings", "-ghci-script", "$packages/SublimeREPL/config/Tidal/ghci-tidal.conf"],
"cwd": "$file_path",
"external_id": "haskell",
"syntax": "Packages/Haskell/Haskell.tmLanguage"
}
}
]
}]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment