The melodic minor scale contains seven modes. They are, from the first up (in the key of A minor):

The guitar pattern for the scale is:

======
##|#||
||#|||
######
#||||#
|####|
||||##
||||||
||||||
||||||

The bass pattern for the scale is:

====
##|#
||#|
####
#|||
|###
||||
||||
||||
||||

The piano pattern for the scale is:

A  B  C  D  E  F# G# A
1  2  3  1  2  3  4  5

Source: The Keyboard Grimoire (book), Advanced Scale Concepts and Licks for Guitar (book)