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
-- | FizzBuzz: an example program, similar in purpose to the infamous | |
-- Hello World, that serves to demonstrate the features and syntax of | |
-- the language in which it is written. | |
-- | |
-- The rules of the game are as follows: | |
-- | |
-- 1. If the number is divisible by 3, return \"Fizz\"; | |
-- | |
-- 2. If the number is divisible by 5, return \"Buzz\"; | |
-- |
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 : Saliva.Model.OldExp | |
-- Copyright : GPLv3 | |
-- | |
-- Maintainer : chrisyco@gmail.com | |
-- Portability : portable | |
-- | |
-- The 'Exp' data type, for representing lambda expressions. | |
module Saliva.Model.OldExp |
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 <stdlib.h> | |
#include <unistd.h> | |
int main() { | |
size_t sz = sysconf(_SC_PAGESIZE); | |
for (;;) { | |
char *leak = malloc(sz); | |
leak[0] = 'a'; | |
} |
OlderNewer