array_list_peekleft Function

private pure function array_list_peekleft(this) result(peek)

Arguments

Type IntentOptional AttributesName
class(array_list), intent(in) :: this

Return Value class(container), allocatable

The item at the start of the list

Description

Returns the item at the start of the list.


Source Code

  pure function array_list_peekleft(this) result(peek)
    !* Author: Chris MacMackin
    !  Date: March 2016
    !
    ! Returns the item at the start of the list.
    !
    class(array_list), intent(in) :: this
    class(container), allocatable :: peek
      !! The item at the start of the list
  end function array_list_peekleft