This file contains hidden or 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
from tkinter import * | |
from tkinter import ttk | |
''' | |
Zamysł okna: | |
---------------------- inputy, do których wpisywane | |
' ' będą wartości (ttk.Entry()) | |
------- / -------- / ------ | |
| ..... v ........ v .... | | |
| . ________ ________ . <----- frame przechowywujący inputy |
This file contains hidden or 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
injective(f) := block([x:x, y:y, q:q], | |
q: f(x) = f(y), | |
is(equal(solve(q, x), [x=y])) | |
); |
This file contains hidden or 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> | |
#include <memory> | |
#include <optional> | |
class not_found_error : public std::logic_error { | |
using std::logic_error::logic_error; | |
}; | |
// Head - Tail List | |
// Inspired by Prolog lists |