Where:
- r = reference
- n = number
- i = integer
- c = compound_notes, note can be midi number, rest _, or compound note such as _60
- s = symbol
imp frequency:n
- impulse signal, it can be used as a trigger to a sampler or sawsynth
constsig n
defmodule AbsintheHelpers do | |
import Absinthe.Resolution.Helpers | |
alias Absinthe.Relay.Connection | |
def relay_dataloader(source, opts \\ []) do | |
fn parent, | |
raw_args, | |
%{context: %{loader: loader}, source: %{business_id: _business_id}, definition: definition} = | |
ctx -> |
{ | |
outputs = { nixpkgs, ... }: { | |
pkgsWeb = import nixpkgs { | |
system = "x86_64-linux"; | |
# NOTE: enabling setting crossSystem disables config.replaceStdenv | |
crossSystem = { | |
config = "wasm32-unknown-none"; | |
rust.rustcTarget = "wasm32-unknown-unknown"; | |
useLLVM = true; | |
}; |
{ | |
description = "Android Emulator"; | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
flake-utils.url = "github:numtide/flake-utils/v1.0.0"; | |
}; | |
outputs = { self, nixpkgs, flake-utils }: | |
flake-utils.lib.eachDefaultSystem (system: |
########### | |
# MIX.EXS # | |
########### | |
[ {:avro_ex, "~> 2.0"} ] | |
########### | |
# CONTEXT # | |
########### |
{ | |
description = "Android Emulator"; | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
flake-utils.url = "github:numtide/flake-utils/v1.0.0"; | |
}; | |
outputs = { self, nixpkgs, flake-utils }: | |
flake-utils.lib.eachDefaultSystem (system: |
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc | |
index bc253d0a3..e6c348d99 100644 | |
--- a/src/libexpr/primops.cc | |
+++ b/src/libexpr/primops.cc | |
@@ -867,7 +867,7 @@ static void prim_tryEval(EvalState & state, const PosIdx pos, Value * * args, Va | |
state.forceValue(*args[0], pos); | |
attrs.insert(state.sValue, args[0]); | |
attrs.alloc("success").mkBool(true); | |
- } catch (AssertionError & e) { | |
+ } catch (EvalError & e) { |
# BASED_ON: | |
# https://wiki.archlinux.org/title/User:Altercation/Bullet_Proof_Arch_Install#Create_and_mount_BTRFS_subvolumes | |
# https://wiki.archlinux.org/title/Btrfs#Compression | |
# https://btrfs.readthedocs.io/en/latest/Administration.html?highlight=mount#mount-options | |
# https://grahamc.com/blog/erase-your-darlings | |
# download with: | |
# curl -L setup-disk.shiryel.com > setup.sh | |
# run with: |
{ | |
description = "Clang Template"; | |
inputs = { | |
nixpkgs_stable.url = "github:NixOS/nixpkgs/nixos-22.05"; | |
flake-utils.url = "github:numtide/flake-utils/v1.0.0"; | |
}; | |
outputs = { self, nixpkgs_stable, flake-utils }: | |
flake-utils.lib.eachDefaultSystem |
:def hoogle \x -> return $ ":!hoogle --count=15 \"" ++ x ++ "\"" | |
:def doc \x -> return $ ":!hoogle --info \"" ++ x ++ "\"" | |
:set -Wall | |
:set -fno-warn-type-defaults -ferror-spans -freverse-errors -fprint-expanded-synonyms | |
:set prompt "\ESC[0;32m%s\n\ESC[m[ghci]\ESC[38;5;172mλ \ESC[m" | |
:set prompt-cont " \ESC[38;5;172m> \ESC[m" |