Partial evaluation means to fix some variables in the given code before execution. With a traditional implementation of a compiler or an interpreter, all variables are replaced with its value on each evaluation of that variable. This is because a variable can change at any timing. This is, however, not always true in actual applications. Almost all of large applications has setting variables and data
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
count: | |
- 001-d711ba960cd12b76 -> 002-07c7b5ce987e6378: | |
added: 8 | |
removed: 12 | |
preserved: 758 | |
- 002-07c7b5ce987e6378 -> 003-6d32a3240b072c1c: | |
added: 0 | |
removed: 0 | |
preserved: 766 | |
- 003-6d32a3240b072c1c -> 004-e0c74e1a229895e3: |
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
lifespan: | |
- PTM CallExpression[0,0].Evaluation IsPropertyReference 1 ReferenceRecord (step 6, 7:46-72) 9c8a88ec: | |
added: - | |
removed: ./logs/range-tycheck/003-6d32a3240b072c1c/fingerprints.json | |
age: 2 | |
- IPB CallExpression[0,0].Evaluation ref.ReferencedName (step 6, 7:89-113) 9c8a88ec: | |
added: - | |
removed: ./logs/range-tycheck/003-6d32a3240b072c1c/fingerprints.json | |
age: 2 | |
- IPB UnaryExpression[3,0].Evaluation val.Call 4ac42d48: |
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
diff (001-d711ba960cd12b76 - 002-07c7b5ce987e6378) > added: 8 | removed: 12 | preserved: 758 | |
diff (002-07c7b5ce987e6378 - 003-6d32a3240b072c1c) > added: 0 | removed: 0 | preserved: 766 | |
diff (003-6d32a3240b072c1c - 004-e0c74e1a229895e3) > added: 3 | removed: 3 | preserved: 763 | |
diff (004-e0c74e1a229895e3 - 005-320e19595326831a) > added: 0 | removed: 0 | preserved: 766 | |
diff (005-320e19595326831a - 006-9fec769e70974938) > added: 3 | removed: 3 | preserved: 763 | |
diff (006-9fec769e70974938 - 007-d5e7e6e913b7c29f) > added: 0 | removed: 0 | preserved: 766 | |
diff (007-d5e7e6e913b7c29f - 008-184e4ae34fa66be7) > added: 5 | removed: 6 | preserved: 760 | |
diff (008-184e4ae34fa66be7 - 009-4d570c4773eb219b) > added: 0 | removed: 0 | preserved: 765 | |
diff (009-4d570c4773eb219b - 010-22cc56ab08fcab92) > added: 0 | removed: 0 | preserved: 765 | |
diff (010-22cc56ab08fcab92 - 011-e7979fdc5dbd3026) > added: 0 | removed: 0 | preserved: 765 |
"For comprehension" is a another syntaxe to use map
, flatMap
and withFilter
(or filter) methods.
yield
keyword is used to aggregate values in the resulting structure.
This composition can be used on any type implementing this methods, like List
, Option
, Future
...
I made a little styling lib called glam
(some features are in development)
let's start off with the simplest use case. we'll make an 'index.html' page,
and assume we've setup our js bundler to output bundle.js
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 <algorithm> | |
#include <iostream> | |
#include <queue> | |
#include <utility> | |
using namespace std; | |
struct point { | |
int x, y; | |
}; |
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
🌞 Morning 40 commits █▏░░░░░░░░░░░░░░░░░░░ 6.0% | |
🌆 Daytime 178 commits █████▌░░░░░░░░░░░░░░░ 26.5% | |
🌃 Evening 263 commits ████████▏░░░░░░░░░░░░ 39.1% | |
🌙 Night 191 commits █████▉░░░░░░░░░░░░░░░ 28.4% |
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
''' | |
201R COSE213 Assignment_05 Tester | |
writer: hyperflow@kakao.com | |
to avoid Unicode problem, | |
$ export PYTHONIOENCODING=UTF-8 | |
사용하기 위해서는 다음과 같은 수정이 필요합니다. | |
1. 우분투 환경에서 실행되도록 해주세요. (Ubuntu 18.04.3 LTS x64) | |
2. 같은 디렉토리에 ./intbst (해답 파일)과 ./randtest.o (확인하고자 하는 파일)이 준비되어 있어야 합니다. | |
3. ./randtest.o는 확인하고자 하는 c 코드에 srand(time(NULL));을 빼고, 제일 첫 입력을 추가하여 받은 값을 랜덤시드에 넣어주세요. |