Four bit adder: Difference between revisions

Content added Content deleted
(Added solution for F#)
Line 2,672: Line 2,672:


'''Functions'''
'''Functions'''
<lang Julia>
<lang Julia>using Printf

xor{T<:Bool}(a::T, b::T) = (a&~b)|(~a&b)
xor{T<:Bool}(a::T, b::T) = (a&~b)|(~a&b)