Jump to content

Huffman coding: Difference between revisions

m
→‎{{header|11l}}: Named tuple as a base type
m (→‎{{header|Wren}}: Minor tidy)
m (→‎{{header|11l}}: Named tuple as a base type)
 
Line 33:
{{trans|Python}}
 
<syntaxhighlight lang="11l">T Element((Int weight, [(Char, String)] symbols))
Int weight
[(Char, String)] symbols
 
F (weight, symbols)
.weight = weight
.symbols = symbols
 
F <(other)
R (.weight, .symbols) < (other.weight, other.symbols)
1,480

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.