トップ 最新

#3 [全文検索]

検索方法

並べ替え: 表示件数: 検索条件の書式:

[SIMILAR] WITH 41234 inttocolor WITH 41234 fromenum WITH 24740 toenum WITH 24740 bounded WITH 24740 safetoenum WITH 16493 minbound WITH 16493 maxbound WITH 15241 deriving WITH 13911 otherwise WITH 13096 enum WITH 12878 execute WITH 11401 color WITH 8781 整数 WITH 8246 colortoint WITH 8246 unsafeperformio WITH 7748 挙型 WITH 7748 prelude WITH 7748 価順 WITH 7000 catch WITH 6162 foreign WITH 5134 ト値 WITH 5064 import WITH 4972 例外 WITH 4434 般化 WITH 4390 囲外 WITH 4320 exception WITH 3531 red WITH 3312 return WITH 2960 順序 WITH 2859 。da WITH 2569 haskell WITH 2525 列挙 の検索結果 113 件中 1 - 10 件目 (0.037962176 秒)

1 2 3 4 5 6 7 8 9 10 11 12 次へ

2007-03-29 [類似検索]

[Haskell] 列挙型

data Color = RED | BLUE のような型があるときに、この値と整数をマッピングするにはEnumを使うのが楽です。 data Color = RED | BLUE deriving Enum intToColor = toEnum colorToInt = fromEnum ところが、intToColorに範囲外整数を渡されると例外になってしまってうれしくありません。適当なデフォルト値に ...

#  (スコア:10000)

2010-02-11 [類似検索]

[Haskell] HaskellでOpenGL (16)

描画するたびに頂点属性をメモリからGPUのメモリに転送するのを避けるには頂点バッファオブジェクトを使います。頂点バッファオブジェクトを使うと、頂点属性をGPUのメモリに置きっぱなしにできます。 作成するには、genObjectNamesで名前を作り、bindBufferでバインドし、bufferDataでデータを書き込みます。 ...

#  (スコア:2887)

2009-09-17 [類似検索]

[Haskell] Maybeをfilterする

Maybeの中の値を元に、Maybe自体をNothingにしたいケースが結構あります。例えば、Maybe Stringで中の文字列が空の場合にはNothingにしたいケースなどです。 nonEmptyString :: Maybe String -> Maybe String nonEmptyString s = case s of Just s | s /= "" -> Just s _ -> Nothing これを少し一般化すると、こ ...

#  (スコア:1866)

2006-09-12 [類似検索]

[Haskell] Deriving clause for classes Typeable and Data

Typeableのインスタンスにするために、 data X = X instance Typeable X where typeOf _ = mkTyConApp (mkTyCon "X") [] のようなことをやっていたのですが、 data X = X deriving Typeable とできるのですね…(-fglasgow-extsが必要です)。 ...

#  (スコア:1803)

2005-07-30 [類似検索]

ツッコミ!! (snak)

HTML Online Mode indicates wheather it retrieves resources on the Web such as images, which mainly relates to privacy issues. HTML Internet Zone Mode indicates wheather a web brower control shows its contents in Internet Zone or Restricted Zone (Default), which mainly relates to security ...

#  (スコア:1623)

2007-03-29 [類似検索]

[Haskell] カレンダーっぽいものを表示

指定した年・月を以下のような感じでカレンダーっぽく表示。 | 1 2 3 | 4 5 6 7 8 9 10 | 11 12 13 14 15 16 17 | 18 19 20 21 22 23 24 | 25 26 27 28 29 30 31 なんとなく考えると、具体的な方法を考えなくても書けてしまうのが良い感じです。 import Data.List (dropWhile, intersperse, takeWhile, unfoldr ...

#  (スコア:1532)

2007-03-15 [類似検索]

ツッコミ!! (snak)

@Executeで外部コマンドを実行できます。 http://q3.snak.org/doc/ExecuteFunction.html あとは、@Clipboardや@Saveあたりと組み合わせるとできそうな気がしますね。 ...

#  (スコア:1502)

2005-05-29 [類似検索]

ツッコミ!! (Azol)

I have noticed that the only rule that do not applies automatically is the Apply type, and the macro I try to use is @Deleted(@True()) (in Trash folder). It never applies until I go to Trash folder and execute Apply Rules manually. (The build is a latest Nightly Build for WM2003). I hope ...

#  (スコア:1502)

2004-07-04 [類似検索]

[Q3] PGP (4)

コマンドラインの標準入出力でできるということは、今のままでも復号化と署名の検証は@Executeを使えばテンプレートで何とかできそうな気がしますね。GnuPGの場合にはgpg-agentを使ってやらないとパスフレーズを渡せないという問題はありますけど。 ...

#  (スコア:1502)

2007-03-15 [類似検索]

ツッコミ!! (moyashi)

振り分けで「新着」に対して以下のマクロ適用で、新着メール送信者アドレスの、fliteの音声合成による読み上げがひとまずできました。 @Execute(@Concat('"\\Sd Card\\flite\\flite.exe" "-t ', @Address(From), '"')) ローマ字置換して名前読み上げというところまでやってみようと思っています。 自サイトがや ...

#  (スコア:1502)

1 2 3 4 5 6 7 8 9 10 11 12 次へ