Skip to content

rssh/codespace-scala-training

Repository files navigation

Delete me training materials for codespace scala course

разбирайте задачки:

Задача о телефонных номерах

http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.35.1423 http://page.mi.fu-berlin.de/prechelt/Biblio/jccpprtTR.pdf http://page.mi.fu-berlin.de/prechelt/phonecode/

  • кому нравится -- скажите

artuwok1986

  1. Эмуляция конструкции scope(exit) в языке D

http://stackoverflow.com/questions/4711309/meaning-of-scope-in-d-for-a-parameter stackoverflow.com Meaning of "scope" in D (for a parameter) What does scope invoid foo(scope void* p) { } mean?(I'm not talking about scope(exit) or scope int x = 5;, but about scope as used inside a parameter list.)

Есть еще хорошее видео Александреску на эту тему

https://www.youtube.com/watch?v=WjTrfoiB0MQ YouTube CppCon CppCon 2015: Andrei Alexandrescu “Declarative Control Flow"

f = new OutputStream(new File("f"))
scope(exit){  f.close() }
f.write("somethjing")
}

(edited)

  1. Тесты к DScope

  2. TickTackStrategy: player

  3. TickTackStragy: Console

  4. TickTack: View 2 стратегии и следить за их игрой

  5. Game of Life. Conway

https://en.wikipedia.org/wiki/Conway's_Game_of_Life Wikipedia Conway's Game of Life The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970. The "game" is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. One interacts with the Game of Life by creating an initial configuration and observing how it evolves, or, for advanced "players", by creating patterns with particular properties. (3KB)

  1. Binary Tree Library
  • conformance to colleaction API is not needed (except iterable)
  1. Calculator: Interpretation of AST tree. +, -, *, ^, !, sqrt

  2. Parser Combinators: Produsing AST Tree // ...

  3. Complex numbers

// p-adic numbers

https://en.wikipedia.org/wiki/Bargaining_problem

  1. Bagraining: Стратегия

  2. Совсем простые --- parseInt parseIp parse Ethernet Addr Oб-ект с методами + тест

About

codespace-scala-training-1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 9

Languages