1. Dominic Kexel
  2. adler32

Commits

Dominic Kexel  committed 0cab383

removed _base variable in F#

  • Participants
  • Parent commits 13bc407
  • Branches default

Comments (0)

Files changed (1)

File adler32.fs

View file
  • Ignore whitespace
-let _base = 65521
-    
 let proceed (a, b) (x : byte) = 
-    let a' = (a + (int x)) % _base
-    let b' = (a' + b) % _base
+    let a' = (a + (int x)) % 65521
+    let b' = (a' + b) % 65521
     (a', b')
     
 let adler32 data =