Pastes with function tag

 

# Paste Title Author Source
1 #823ba8b8 Function declaration dejan
import std.stdio;

/*
float handleRequest() {
  return 1.0f;
}
*/

int handleRequest() {
  return 20
2 #120976e2 Example of a function that returns a function. dejan
import std.stdio;

struct Script {
    int x, y;
}

void foo(Script e) {
    writeln("Got: ", e);
}