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
#![feature(asm)] | |
use std::cell::UnsafeCell; | |
#[repr(C)] | |
#[derive(Clone,Copy)] | |
struct U128 { | |
lo : u64, | |
hi : u64 | |
} |
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
{-# LANGUAGE MultiWayIf #-} | |
module Brackets where | |
import Data.Numbers.Primes (primes) | |
-- delimiters for well-formedness check | |
data Paren a = Paren { | |
left :: a | |
, right :: a | |
} |