Code Monkey home page Code Monkey logo

hasukeru's Introduction

Hasukeru

漢文風プログラミング 蓮蹴

#例 

  • 階乗
階阿定畳乗壱[壱至阿]
主推穢空
主定行
 曰、示、階六

hasukeru's People

Contributors

kazakami avatar

Stargazers

George Cheng avatar  avatar nonylene avatar prime number avatar むらため avatar 久我山菜々 avatar

Watchers

James Cloos avatar  avatar

Forkers

wass80

hasukeru's Issues

Sometimes c.GetHashCode() returns negative integer, thus composing invalid Haskell identifier

I tried the example in Readme:

階阿定畳乗壱[壱至阿]
主推穢空
主定行
 曰、示、階六

and I get

var-1769040242 a = foldr (*) 1 [1 .. a ]
main :: IO () 
main = do 
 putStrLn $ show $ var-1769040242 6 

.
Obviously the code at https://github.com/kazakami/Hasukeru/blob/master/kanji.cs line131:
return "var" + c.GetHashCode() + " ";
converted to -1769040242.

Have you encountered such case that GetHashCode() returns negative integer?

My environment:
Windows 10 (Chinese. Does it matter?),
.NET Framework 4.5

p.s.
私は日本語とHaskellを初めに勉強しました。面白いrepo!:)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.