This file contains 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
module Main ( | |
main | |
) where | |
import Control.Monad.Trans.Either | |
import Data.List (stripPrefix) | |
import Data.Char(isUpper) | |
import System.Exit (exitFailure) | |
import Test.QuickCheck.All (quickCheckAll) |
This file contains 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
import 'dart:html'; | |
/* | |
// compiled in cygwin with: | |
// g++ -Wall -O2 -o skinning_test_no_simd skinning_test_no_simd.cpp | |
#include <vector> | |
#include <set> | |
#include <map> | |
#include <assert.h> |
This file contains 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
#ifndef Py_CONFIG_H | |
#define Py_CONFIG_H | |
/* pyconfig.h. NOT Generated automatically by configure. | |
This is a manually maintained version used for the Watcom, | |
Borland and Microsoft Visual C++ compilers. It is a | |
standard part of the Python distribution. | |
WINDOWS DEFINES: |
This file contains 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
#include <iostream> | |
#define DEFPROP(name, type_) type_ name; | |
#define S(_) \ | |
_(foo, int); \ | |
_(bar, float) | |
struct MyStruct { |
This file contains 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
<?php | |
class B { | |
public function __call($fn, $args) { | |
$c = array($this, 'hello'); | |
$c(); | |
} | |
private function hello() { | |
echo "hello B\n"; |
This file contains 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
<?php | |
class C { | |
public function call_private_function($f) { | |
return $f(); | |
} | |
private function run() { | |
echo "run!\n"; | |
} |
This file contains 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 revert-all-buffers () | |
"Refreshes all open buffers from their respective files." | |
(interactive) | |
(dolist (buf (buffer-list)) | |
(with-current-buffer buf | |
(when (and (buffer-file-name) (not (buffer-modified-p))) | |
(revert-buffer t t t) ))) | |
(message "Refreshed open files.") ) |
This file contains 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
template<class T,class...>class C{C<T*const,T,C>a;C<T,C>b;};C<int>c; |
This file contains 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
#include <stdio.h> | |
enum Enumeration { | |
ENUM = 0, | |
}; | |
struct S final { | |
explicit S(unsigned short id) | |
: S(ENUM, value) | |
{ } |
This file contains 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 FlexibleInstances #-} | |
module Main where | |
import Control.Applicative ((<$>)) | |
import Control.Monad.State.Lazy as S | |
class Monad m => World m where | |
writeLine :: String -> m () | |
instance World IO where |
OlderNewer