Skip to content

Instantly share code, notes, and snippets.

View sdroege's full-sized avatar
🍵

Sebastian Dröge sdroege

🍵
View GitHub Profile
#![feature(core_intrinsics)]
use std::intrinsics;
pub fn main() {
unsafe { intrinsics::abort(); }
}
Verifying that +slomo is my blockchain ID. https://onename.com/slomo
@sdroege
sdroege / gist:6209e97b4dfc9791033d
Created June 20, 2015 19:41
Control.Monad.Random
{-# LANGUAGE FlexibleInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, TypeFamilies, UndecidableInstances #-}
module Control.Monad.Random
( module System.Random.MWC
, runRandT
, RandT
, MonadRandom
, getUniform
, getUniformR
, getUniformVector
#0 0x00007ffff4707e2c in _IO_vfprintf_internal (s=s@entry=0x7fffffffad30,
format=<optimized out>, format@entry=0x406d24 "%s%s",
ap=ap@entry=0x7fffffffaea0) at vfprintf.c:1642
#1 0x00007ffff47b2ed5 in __GI___vasprintf_chk (
result_ptr=result_ptr@entry=0x7fffffffae80, flags=flags@entry=1,
format=0x406d24 "%s%s", format@entry=0x7fffffffae80 "",
args=0x7fffffffaea0) at vasprintf_chk.c:66
#2 0x00007ffff50114ec in vasprintf (__ap=<optimized out>,
__fmt=0x7fffffffae80 "", __ptr=0x7fffffffae80)
at /usr/include/x86_64-linux-gnu/bits/stdio2.h:210