I hereby claim:
- I am matsud224 on github.
- I am matsud224 (https://keybase.io/matsud224) on keybase.
- I have a public key ASA4i7TC4yE4nbZE1bGJpPPrmYLq5lR8IJK-rJJr0CJ-1Qo
To claim this, I am signing this object:
;;load後、(ltk::main)で実行 | |
#| | |
(require :asdf-install) | |
(asdf-install:install :ltk) | |
|# | |
(eval-when (:compile-toplevel :load-toplevel :execute) | |
(require :ltk)) | |
(in-package :ltk) |
%セルをポートオブジェクトで表現し、明示的状態を導入 | |
%しかし並列性が必要となる | |
declare NewPortObject | |
fun {NewPortObject Init Fun} | |
Sin Sout in | |
thread {FoldL Sin Fun Init Sout} end | |
{NewPort Sin} | |
end |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <ctype.h> | |
#include <setjmp.h> | |
#if !defined(UNUSED) | |
# if defined(__GNUC__) | |
# define UNUSED __attribute__((__unused__)) | |
# else |
#include <stdio.h> | |
#include <ctype.h> | |
#include <stdlib.h> | |
#include <math.h> | |
int main(){ | |
while(1){ | |
printf("> "); | |
printf("%d\n",calc_3()); | |
while(getchar()!='\n'); |
#include <ctype.h> | |
#include <math.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <time.h> | |
int it = 0; // previous result | |
char getnonspacechar() { |
I hereby claim:
To claim this, I am signing this object:
この記事は SATySFi Advent Calendar 2020 2日目の記事です。
SATySFi向けパッケージマネージャとして、na4zagin3さんが開発されたSatyrographosがあり、現時点で40パッケージ以上が登録されています。これまで、パッケージを導入する際は手動でファイルをダウンロードし、適切な場所に配置したりフォントハッシュの更新を行う必要がありましたが、Satyrographosを使えばコマンドひとつ叩くだけで自動で行ってくれます。
大変便利なSatyrographosですが、欲しいパッケージを探すのには少々苦労します。検索やパッケージ情報の表示を行うコマンドにopam search
やopam show
がありますが、もう少し使い勝手の良いものがほしいです。また、SATySFi Wikiにもパッケージ紹介ページは存在しますが、人力での更新なので情報が古くなっています。このような状況のため、SATySFi Conf 2020でもパッケージ一覧サイトがほしいという要望が出ていました。
そこで、Satyrographosパッケージの一覧表示および検索を行えるWebサイト Satyrographos Package Index (GitHub) を作ってみました。なお、本サイトはあくまで非公式のものです。