This article is part of Hands-on OCaml, a series of articles that I’m working on that is focusing on doing web app development with OCaml. Scroll to the end to see other titles in this series. Edit 2018–08–03: Update Dune to version 1.0.1 from beta19.1. In this first article of Hands-on OCaml series, we will explore how to start building an OCaml project. The project we will be building throughout
Hello, what is a preferred approach for unit testing when using jbuilder? So far I’m using separate folders for library/ and tests/ , but the problem is I need to export all internals in Library.Internal modules in order to test it. What (ideally) I want to achieve is to have access to modules ignoring signatures. I’ve been trying to use ppx_inline_test with tests in a test/ subdirectory. Unfortun
これは ML Advent Calendar 2017 の 18日目の記事です (ずいぶん遅れました). 前回の記事 では Oasis について紹介しましたが,Jbuilder (Dune という名前に変わります) のほうがもっと楽だったので反省しつつ紹介します. 名前にセンスがないとか S式やだとか思ってしまいますが実際これは圧倒的に良いツールです. 今後は基本的には Jbuilder を使っていけばよい気がします(名前が変わるみたいですが…). 基本的には公式のマニュアルを見れば使えるのですが,public_name や <package>.opam についてはやや記述が散逸している感じなので適宜補足します.また,名前空間の衝突を避けるために Jbuilder が行う -pack ライクな動作についても少し書きます. よい点 自動的な依存解析,簡潔な設定ファイル.OASIS と違って、
Built on our earlier efforts in analyzing EOS tokens, we have developed an automated system to scan and analyze Ethereum-based (ERC-20) token transfers. Specifically, our system will automatically send out alerts if any suspicious transactions (e.g., involving unreasonably large tokens) occur. In particular, on 4/22/2018, 03:28:52 a.m. UTC, our system raised an alarm which is related to an unusual
『haskell入門 関数型プログラミング言語の基礎と実践』を読みながら写経をすると、たまにGHCからCould not find moduleと怒られるときがあります。 これは「モジュールが見つからない」という意味なので、そのモジュールが入ったパッケージを入れる必要があります。 しかし、パッケージの入れ方は複数あり、古いやり方・新しいやり方があるようです。 (新規プロジェクトや特にこだわりが無い場合は、「新しいやり方」でOKです) 例 hogeというプロジェクトを新規作成します。 ここでモジュール Data.ByteString.Char8 を使いたい、とします。 stack newした直後だと、Preludeにないモジュール利用可能なパッケージに含まれないモジュール(Prelude以外にもいくつかあります)をimportするとCould not find moduleエラーが出てきます
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く