Susumu Yamazaki

Results 59 comments of Susumu Yamazaki

Would you write a new feature issue according to the issue template? > **Is your feature request related to a problem? Please describe.** > A clear and concise description of...

ちなみに,Issue は日本語で書いてもいいです。こちらで英語に翻訳します。 You may write an issue also in Japanese. We'll translate it into in English.

@piacerex Would you describe an acceptance testing code at first?

I guess supporting this feature is a little difficult because it may require some kind of type inference and/or type checking. I also guess notation for Dialyzer makes it easier....

I run your code using Enum but I got a different result: ``` iex(1)> [ %{ "some_column" => "hoge" }, %{ "some_column" => "huge"} ] |> Enum.map( & String.replace( &1[...

@josevalim said: > Unfortunately relying on typespecs for type checking is not a good idea because they are not always verified, only if they use dialyzer. There are people experimenting...

I was discussing it with @piacerex on Slack. @piacerex suggests that: 1. He don't use typespecs usually because it requires too much cost though it brings a few advantages. 2....

I prefer implementing type inference to typespecs because the former has more potential. However, I agree it may require too much cost to implement even if using existing type inference...

I decided to implement some functions of String module, not only String.replace, because a project that our team conduct requires them. At least, they includes the following functions: * String.replace/4...

I guess to implement String.replace/4 using SIMD instructions will be as follows: 1. Allocate a memory area for replaced string because memory area in Elixir should be immutable. * Keep...