Skip to content

Instantly share code, notes, and snippets.

View KamilaBorowska's full-sized avatar

Kamila Borowska KamilaBorowska

View GitHub Profile
a: 2
/*
* Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
_______________________________ TestChsh.test_2 ________________________________
self = <test_chsh.TestChsh object at 0x7ffff50daa90>
completion = <CompletionResult []>
@pytest.mark.complete("chsh -s ")
def test_2(self, completion):
> assert completion
E assert <CompletionResult []>

Keybase proof

I hereby claim:

  • I am xfix on github.
  • I am borowski (https://keybase.io/borowski) on keybase.
  • I have a public key whose fingerprint is E540 2FAF 20B4 39B7 ED35 8774 710B B848 FE46 266F

To claim this, I am signing this object:

use std::result;
#[derive(Copy, Clone)]
pub enum Alignment {
Left,
Right,
Center,
}
pub type Result = result::Result<(), Error>;
Species Formes count
Venusaur 2
Charizard 3
Blastoise 2
Beedrill 2
Pidgeot 2
Rattata 2
Raticate 3
Pikachu 8
Raichu 2
import java.util.function.Function;
public class Currying {
public static void main(String[] args) {
Function<Integer, Function<Integer, Integer>> adder = x -> y -> x + y;
Function<Integer, Integer> addToTwo = adder.apply(2);
System.out.println(addToTwo.apply(4));
}
}
import Data.IORef
for init cond inc block = do
let loop = do
res <- cond
if res then
do
block
inc
loop