Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Haskell が特定の範囲内の乱数を生成する関数を提供していることは知っています。
一連の数値から乱数を生成する方法はありますか?
例: のリストが[1, 6, 9]存在し、乱数をこのリストの外、つまり 1 または 6 または 9 にしたいとします。
[1, 6, 9]